Function at 0x43bf50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50b332
mov eax, dword fs:[0]
push eax
sub esp, 0x5bc
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x5b8], eax
push esi
push edi
mov eax, dword [0x5405a0]
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.0043a090
mov dword [esp + 0x5d0], 0
mov ecx, 0x105
lea esi, [esp + 0x13c]
mov dword [esp + 0x254], 0x105
call fcn.0043ae00
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x43bfdf
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 0x43c0e7
xor eax, eax
cmp dword [esp + 0x254], eax
je 0x43c00d
mov dword [esp + 0x254], eax
mov ecx, 1
lea esi, [esp + 0x13c]
mov dword [esp + 0x138], eax
call fcn.0043ae00
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x43c03d
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.0043ae00
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x43c077
mov eax, dword [esp + 0x13c]
add eax, 4
push eax
push 1
push 0
push 0x1a
push 0
call edi
test eax, eax
je 0x43c0e7
lea ecx, [esp + 0x134]
call fcn.0043a260
mov ecx, ebx
call fcn.00439450
push 0x5280c0
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
cmp byte [esp + 0x250], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x43c0e0
mov eax, dword [esp + 0x13c]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x43c0e0
push eax
call fcn.004ccef0
add esp, 4
xor al, al
jmp 0x43c311
lea edi, [esp + 0x134]
call fcn.0043a600
cmp byte [esp + 0x250], 0
lea esi, [esp + 0x140]
jne 0x43c10b
mov esi, dword [esp + 0x13c]
lea ecx, [esp + 0x258]
call fcn.0043a090
lea eax, [esi + 4]
lea edx, [esp + 0x258]
call fcn.0043a2e0
mov byte [esp + 0x5d0], 2
call fcn.0043be90
mov edi, vtable.t_str.0
test al, al
je 0x43c293
lea ecx, [esp + 0x258]
call fcn.004388d0
push eax
lea ecx, [esp + 0x380]
call fcn.0043a1c0
mov ecx, str.Application_Data
lea eax, [esp + 0x37c]
mov byte [esp + 0x5d0], 3
call fcn.0043a3c0
test al, al
je 0x43c267
mov eax, str.AppDataRoaming
lea edx, [esp + 0x37c]
call fcn.0043a2e0
lea ecx, [esp + 0x4a0]
call fcn.00436e90
lea eax, [esp + 0x4a0]
push eax
lea ecx, [esp + 0x25c]
mov byte [esp + 0x5d4], 4
call fcn.00438b30
cmp byte [esp + 0x498], 0
lea esi, [esp + 0x388]
jne 0x43c1cb
mov esi, dword [esp + 0x384]
lea ecx, [esp + 0x10]
call fcn.0043a090
lea eax, [esi + 4]
lea edx, [esp + 0x10]
call fcn.0043a2e0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x4a4]
call fcn.004374e0
cmp byte [esp + 0x12c], 0
mov dword [esp + 0x10], edi
jne 0x43c214
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
cmp eax, edx
je 0x43c214
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x5bc], 0
lea eax, [esp + 0x4ac]
jne 0x43c22c
mov eax, dword [esp + 0x4a8]
add eax, 4
lea edx, [esp + 0x258]
call fcn.0043a2e0
cmp byte [esp + 0x5bc], 0
mov dword [esp + 0x4a0], edi
jne 0x43c267
mov eax, dword [esp + 0x4a8]
lea ecx, [esp + 0x4ac]
cmp eax, ecx
je 0x43c267
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x498], 0
mov dword [esp + 0x37c], edi
jne 0x43c293
mov eax, dword [esp + 0x384]
lea edx, [esp + 0x388]
cmp eax, edx
je 0x43c293
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x374], 0
lea eax, [esp + 0x264]
jne 0x43c2ab
mov eax, dword [esp + 0x260]
mov edx, dword [esp + 0xc]
add eax, 4
call fcn.0043a2e0
cmp byte [esp + 0x374], 0
mov dword [esp + 0x258], edi
jne 0x43c2e3
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x264]
cmp eax, ecx
je 0x43c2e3
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x250], 0
mov dword [esp + 0x134], edi
jne 0x43c30f
mov eax, dword [esp + 0x13c]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x43c30f
push eax
call fcn.004ccef0
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.004ccee1
add esp, 0x5c8
ret