Function at 0x40d3b1
Capabilities:
Get common file path

Disassembly:
push 0x3b4
mov eax, 0x51e628
call fcn.004ebc96
mov edi, ecx
mov dword [ebp - 0x21c], edi
xor eax, eax
mov dword [ebp - 0x330], edi
push 0xfffffffffffffffb
pop esi
mov ebx, eax
mov dword [ebp - 0x324], ebx
push 0xf
pop ecx
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], ecx
mov byte [ebp - 0x24c], al
mov dword [ebp - 4], 1
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ecx
mov byte [ebp - 0x234], al
mov byte [ebp - 4], 2
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004eddc0
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40d6d4
lea eax, [ebp - 0x348]
mov byte [ebp - 0x268], bl
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 3
mov ecx, eax
push dword [ebp - 0x268]
push 0x1b
push str.CommUtilities.Report.Status
call fcn.0043ba83
push 2
pop eax
mov dword [ebp - 0x324], eax
mov byte [ebp - 4], al
mov ebx, eax
mov dword [ebp - 0x324], ebx
and ebx, 0xfffffffd
mov dword [ebp - 0x324], ebx
mov byte [ebp - 4], 4
add esp, 8
lea ecx, [ebp - 0x378]
push 0x578d28
call fcn.0042b93b
mov byte [ebp - 4], 5
push ecx
push 0x578d40
lea ecx, [ebp - 0x360]
call fcn.0042b93b
mov byte [ebp - 4], 6
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x3c0]
call fcn.0042d1c2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x360]
push ecx
mov edx, eax
lea ecx, [ebp - 0x3a8]
call fcn.004069ce
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x378]
push ecx
mov edx, eax
lea ecx, [ebp - 0x390]
call fcn.004069ce
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x348]
push ecx
mov edx, eax
lea ecx, [ebp - 0x264]
call fcn.004069ce
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x390]
call fcn.00426c73
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3a8]
call fcn.00426c73
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x3c0]
call fcn.00426c73
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x360]
call fcn.00426c73
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x378]
call fcn.00426c73
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x348]
call fcn.00426c73
lea ecx, [ebp - 0x264]
call fcn.004072c6
test al, al
je 0x40d6c5
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x57dfa0]
cmp eax, dword [ecx + 4]
jg 0x40d810
push 0xb8
lea eax, [ebp - 0x320]
push 0
push eax
call fcn.004eddc0
cmp dword [ebp - 0x250], 8
lea eax, [ebp - 0x264]
lea ecx, [ebp - 0x320]
cmovae eax, dword [ebp - 0x264]
push eax
call fcn.00434e73
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x320]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x320]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x324], eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x320]
mov eax, dword [ebp - 0x320]
mov eax, dword [eax + 4]
add ecx, eax
push ecx
lea eax, [ebp - 0x32c]
push eax
call fcn.00423929
lea ecx, [ebp - 0x32c]
call fcn.0040569b
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], esi
push eax
lea ecx, [ebp - 0x320]
call fcn.0042f85b
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 0x268], esi
call fcn.0042f85b
mov esi, dword [ebp - 0x268]
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x320]
call fcn.004372f3
lea edx, [ebp - 0x234]
mov ecx, eax
call fcn.004372f3
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2b0]
call fcn.00423890
lea ecx, [ebp - 0x2b0]
call fcn.004239ea
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.00426c73
xor eax, eax
mov dword [ebp - 0x328], edi
mov dword [edi], eax
mov ecx, edi
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x234]
push eax
call fcn.004271cf
mov byte [ebp - 4], 0x1e
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x268], ecx
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x24c]
push eax
call fcn.004271cf
mov byte [ebp - 4], 0x21
mov dword [edi + 0x30], esi
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x21c]
mov dword [edi + 0x34], eax
mov byte [ebp - 4], 2
or ebx, 1
mov dword [ebp - 0x324], ebx
mov byte [ebp - 4], 1
mov esi, 0x1000
mov eax, dword [ebp - 0x220]
cmp eax, 0x10
jb 0x40d78b
mov ecx, dword [ebp - 0x234]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x268], ecx
cmp eax, esi
jb 0x40d782
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0040498f
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x268]
push eax
push ecx
call fcn.004eb2ca
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x238]
cmp eax, 0x10
jb 0x40d7f2
mov ecx, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x268], ecx
cmp eax, esi
jb 0x40d7e9
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0040498f
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x268]
push eax
push ecx
call fcn.004eb2ca
pop ecx
pop ecx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], bl
mov eax, edi
call fcn.004ebc45
ret
push 0x57dfa0
call fcn.004eae3b
cmp dword [0x57dfa0], 0xffffffff
pop ecx
jne 0x40d5c0
mov byte [ebp - 4], 0x17
xorps xmm0, xmm0
movlpd qword [0x57df68], xmm0
call fcn.004d8d5d
push 0x18
mov esi, eax
call fcn.004eaf11
pop ecx
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 0x18
mov ecx, eax
call fcn.0040ceaa
mov byte [ebp - 4], 0x17
push eax
push esi
call fcn.0042d2c3
push 0x52e047
call fcn.004eb2b5
mov byte [ebp - 4], 0x15
mov dword [esp], 0x57dfa0
call fcn.004eadf1
pop ecx
push 0xfffffffffffffffb
pop esi
jmp 0x40d5c0