Function at 0x42f150
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c8502
mov eax, dword fs:[0]
push eax
sub esp, 0x5bc
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x5b8], eax
push esi
push edi
mov eax, dword [0x50a4c0]
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.00430920
mov dword [esp + 0x5d0], 0
mov ecx, 0x105
lea esi, [esp + 0x13c]
mov dword [esp + 0x254], 0x105
call fcn.00431260
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x42f1df
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 0x42f2e7
xor eax, eax
cmp dword [esp + 0x254], eax
je 0x42f20d
mov dword [esp + 0x254], eax
mov ecx, 1
lea esi, [esp + 0x13c]
mov dword [esp + 0x138], eax
call fcn.00431260
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x42f23d
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.00431260
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x42f277
mov eax, dword [esp + 0x13c]
add eax, 4
push eax
push 1
push 0
push 0x1a
push 0
call edi
test eax, eax
je 0x42f2e7
lea ecx, [esp + 0x134]
call fcn.00429940
mov ecx, ebx
call fcn.0042c990
push 0x4f0b74
push 0x4f0ffc
mov edx, eax
call fcn.00430eb0
add esp, 8
cmp byte [esp + 0x250], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x42f2e0
mov eax, dword [esp + 0x13c]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x42f2e0
push eax
call fcn.004a4a7f
add esp, 4
xor al, al
jmp 0x42f511
lea edi, [esp + 0x134]
call fcn.00430d10
cmp byte [esp + 0x250], 0
lea esi, [esp + 0x140]
jne 0x42f30b
mov esi, dword [esp + 0x13c]
lea ecx, [esp + 0x258]
call fcn.00430920
lea eax, [esi + 4]
lea edx, [esp + 0x258]
call fcn.00430b00
mov byte [esp + 0x5d0], 2
call fcn.0042e800
mov edi, vtable.t_str.0
test al, al
je 0x42f493
lea ecx, [esp + 0x258]
call fcn.0042b4b0
push eax
lea ecx, [esp + 0x380]
call fcn.00430a60
mov ecx, str.Application_Data
lea eax, [esp + 0x37c]
mov byte [esp + 0x5d0], 3
call fcn.00430be0
test al, al
je 0x42f467
mov eax, str.AppDataRoaming
lea edx, [esp + 0x37c]
call fcn.00430b00
lea ecx, [esp + 0x4a0]
call fcn.00429ba0
lea eax, [esp + 0x4a0]
push eax
lea ecx, [esp + 0x25c]
mov byte [esp + 0x5d4], 4
call fcn.0042b500
cmp byte [esp + 0x498], 0
lea esi, [esp + 0x388]
jne 0x42f3cb
mov esi, dword [esp + 0x384]
lea ecx, [esp + 0x10]
call fcn.00430920
lea eax, [esi + 4]
lea edx, [esp + 0x10]
call fcn.00430b00
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x4a4]
call fcn.00429f70
cmp byte [esp + 0x12c], 0
mov dword [esp + 0x10], edi
jne 0x42f414
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
cmp eax, edx
je 0x42f414
push eax
call fcn.004a4a7f
add esp, 4
cmp byte [esp + 0x5bc], 0
lea eax, [esp + 0x4ac]
jne 0x42f42c
mov eax, dword [esp + 0x4a8]
add eax, 4
lea edx, [esp + 0x258]
call fcn.00430b00
cmp byte [esp + 0x5bc], 0
mov dword [esp + 0x4a0], edi
jne 0x42f467
mov eax, dword [esp + 0x4a8]
lea ecx, [esp + 0x4ac]
cmp eax, ecx
je 0x42f467
push eax
call fcn.004a4a7f
add esp, 4
cmp byte [esp + 0x498], 0
mov dword [esp + 0x37c], edi
jne 0x42f493
mov eax, dword [esp + 0x384]
lea edx, [esp + 0x388]
cmp eax, edx
je 0x42f493
push eax
call fcn.004a4a7f
add esp, 4
cmp byte [esp + 0x374], 0
lea eax, [esp + 0x264]
jne 0x42f4ab
mov eax, dword [esp + 0x260]
mov edx, dword [esp + 0xc]
add eax, 4
call fcn.00430b00
cmp byte [esp + 0x374], 0
mov dword [esp + 0x258], edi
jne 0x42f4e3
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x264]
cmp eax, ecx
je 0x42f4e3
push eax
call fcn.004a4a7f
add esp, 4
cmp byte [esp + 0x250], 0
mov dword [esp + 0x134], edi
jne 0x42f50f
mov eax, dword [esp + 0x13c]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x42f50f
push eax
call fcn.004a4a7f
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.004a4a25
add esp, 0x5c8
ret