Function at 0x43aec0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50a042
mov eax, dword fs:[0]
push eax
sub esp, 0x5bc
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x5b8], eax
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x5c8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5d8]
lea ecx, [esp + 0x134]
mov dword [esp + 0xc], eax
call fcn.00438f20
mov dword [esp + 0x5d0], 0
mov ecx, 0x105
lea esi, [esp + 0x13c]
mov dword [esp + 0x254], 0x105
call fcn.00439d90
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x43af4f
mov eax, dword [esp + 0x13c]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add eax, 4
push eax
push 0
push 0
push 0x1a
push 0
call edi
test eax, eax
je 0x43b057
xor eax, eax
cmp dword [esp + 0x254], eax
je 0x43af7d
mov dword [esp + 0x254], eax
mov ecx, 1
lea esi, [esp + 0x13c]
mov dword [esp + 0x138], eax
call fcn.00439d90
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x43afad
mov eax, dword [esp + 0x13c]
xor ecx, ecx
mov word [eax + 4], cx
mov ecx, 0x105
lea esi, [esp + 0x13c]
mov dword [esp + 0x254], 0x105
call fcn.00439d90
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x43afe7
mov eax, dword [esp + 0x13c]
add eax, 4
push eax
push 1
push 0
push 0x1a
push 0
call edi
test eax, eax
je 0x43b057
lea ecx, [esp + 0x134]
call fcn.004390b0
mov ecx, ebx
call fcn.00438300
push 0x527bb4
push 0x51f1f4
mov edx, eax
call fcn.00439710
add esp, 8
cmp byte [esp + 0x250], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x43b050
mov eax, dword [esp + 0x13c]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x43b050
push eax
call fcn.004cc2c0
add esp, 4
xor al, al
jmp 0x43b281
lea edi, [esp + 0x134]
call fcn.00439450
cmp byte [esp + 0x250], 0
lea esi, [esp + 0x140]
jne 0x43b07b
mov esi, dword [esp + 0x13c]
lea ecx, [esp + 0x258]
call fcn.00438f20
lea eax, [esi + 4]
lea edx, [esp + 0x258]
call fcn.00439130
mov byte [esp + 0x5d0], 2
call fcn.0043ae00
mov edi, vtable.t_str.0
test al, al
je 0x43b203
lea ecx, [esp + 0x258]
call fcn.00437780
push eax
lea ecx, [esp + 0x380]
call fcn.00439010
mov ecx, str.Application_Data
lea eax, [esp + 0x37c]
mov byte [esp + 0x5d0], 3
call fcn.00439210
test al, al
je 0x43b1d7
mov eax, str.AppDataRoaming
lea edx, [esp + 0x37c]
call fcn.00439130
lea ecx, [esp + 0x4a0]
call fcn.00435d60
lea eax, [esp + 0x4a0]
push eax
lea ecx, [esp + 0x25c]
mov byte [esp + 0x5d4], 4
call fcn.004379e0
cmp byte [esp + 0x498], 0
lea esi, [esp + 0x388]
jne 0x43b13b
mov esi, dword [esp + 0x384]
lea ecx, [esp + 0x10]
call fcn.00438f20
lea eax, [esi + 4]
lea edx, [esp + 0x10]
call fcn.00439130
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x4a4]
call fcn.00436390
cmp byte [esp + 0x12c], 0
mov dword [esp + 0x10], edi
jne 0x43b184
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
cmp eax, edx
je 0x43b184
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x5bc], 0
lea eax, [esp + 0x4ac]
jne 0x43b19c
mov eax, dword [esp + 0x4a8]
add eax, 4
lea edx, [esp + 0x258]
call fcn.00439130
cmp byte [esp + 0x5bc], 0
mov dword [esp + 0x4a0], edi
jne 0x43b1d7
mov eax, dword [esp + 0x4a8]
lea ecx, [esp + 0x4ac]
cmp eax, ecx
je 0x43b1d7
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x498], 0
mov dword [esp + 0x37c], edi
jne 0x43b203
mov eax, dword [esp + 0x384]
lea edx, [esp + 0x388]
cmp eax, edx
je 0x43b203
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x374], 0
lea eax, [esp + 0x264]
jne 0x43b21b
mov eax, dword [esp + 0x260]
mov edx, dword [esp + 0xc]
add eax, 4
call fcn.00439130
cmp byte [esp + 0x374], 0
mov dword [esp + 0x258], edi
jne 0x43b253
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x264]
cmp eax, ecx
je 0x43b253
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x250], 0
mov dword [esp + 0x134], edi
jne 0x43b27f
mov eax, dword [esp + 0x13c]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x43b27f
push eax
call fcn.004cc2c0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x5c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5b8]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x5c8
ret