Function at 0x4369d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5012c2
mov eax, dword fs:[0]
push eax
sub esp, 0x5bc
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x5b8], eax
push esi
push edi
mov eax, dword [0x5355a0]
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.004349d0
mov dword [esp + 0x5d0], 0
mov ecx, 0x105
lea esi, [esp + 0x13c]
mov dword [esp + 0x254], 0x105
call fcn.004358a0
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x436a5f
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 0x436b67
xor eax, eax
cmp dword [esp + 0x254], eax
je 0x436a8d
mov dword [esp + 0x254], eax
mov ecx, 1
lea esi, [esp + 0x13c]
mov dword [esp + 0x138], eax
call fcn.004358a0
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x436abd
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.004358a0
cmp byte [esp + 0x250], 0
lea eax, [esp + 0x140]
jne 0x436af7
mov eax, dword [esp + 0x13c]
add eax, 4
push eax
push 1
push 0
push 0x1a
push 0
call edi
test eax, eax
je 0x436b67
lea ecx, [esp + 0x134]
call fcn.00434ba0
mov ecx, ebx
call fcn.00433db0
push 0x51e32c
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x250], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x436b60
mov eax, dword [esp + 0x13c]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x436b60
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x436d91
lea edi, [esp + 0x134]
call fcn.00434f40
cmp byte [esp + 0x250], 0
lea esi, [esp + 0x140]
jne 0x436b8b
mov esi, dword [esp + 0x13c]
lea ecx, [esp + 0x258]
call fcn.004349d0
lea eax, [esi + 4]
lea edx, [esp + 0x258]
call fcn.00434c20
mov byte [esp + 0x5d0], 2
call fcn.00436910
mov edi, vtable.t_str.0
test al, al
je 0x436d13
lea ecx, [esp + 0x258]
call fcn.004334a0
push eax
lea ecx, [esp + 0x380]
call fcn.00434b00
mov ecx, str.Application_Data
lea eax, [esp + 0x37c]
mov byte [esp + 0x5d0], 3
call fcn.00434d00
test al, al
je 0x436ce7
mov eax, str.AppDataRoaming
lea edx, [esp + 0x37c]
call fcn.00434c20
lea ecx, [esp + 0x4a0]
call fcn.00431a60
lea eax, [esp + 0x4a0]
push eax
lea ecx, [esp + 0x25c]
mov byte [esp + 0x5d4], 4
call fcn.00433640
cmp byte [esp + 0x498], 0
lea esi, [esp + 0x388]
jne 0x436c4b
mov esi, dword [esp + 0x384]
lea ecx, [esp + 0x10]
call fcn.004349d0
lea eax, [esi + 4]
lea edx, [esp + 0x10]
call fcn.00434c20
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x4a4]
call fcn.004320b0
cmp byte [esp + 0x12c], 0
mov dword [esp + 0x10], edi
jne 0x436c94
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
cmp eax, edx
je 0x436c94
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x5bc], 0
lea eax, [esp + 0x4ac]
jne 0x436cac
mov eax, dword [esp + 0x4a8]
add eax, 4
lea edx, [esp + 0x258]
call fcn.00434c20
cmp byte [esp + 0x5bc], 0
mov dword [esp + 0x4a0], edi
jne 0x436ce7
mov eax, dword [esp + 0x4a8]
lea ecx, [esp + 0x4ac]
cmp eax, ecx
je 0x436ce7
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x498], 0
mov dword [esp + 0x37c], edi
jne 0x436d13
mov eax, dword [esp + 0x384]
lea edx, [esp + 0x388]
cmp eax, edx
je 0x436d13
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x374], 0
lea eax, [esp + 0x264]
jne 0x436d2b
mov eax, dword [esp + 0x260]
mov edx, dword [esp + 0xc]
add eax, 4
call fcn.00434c20
cmp byte [esp + 0x374], 0
mov dword [esp + 0x258], edi
jne 0x436d63
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x264]
cmp eax, ecx
je 0x436d63
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x250], 0
mov dword [esp + 0x134], edi
jne 0x436d8f
mov eax, dword [esp + 0x13c]
lea edx, [esp + 0x140]
cmp eax, edx
je 0x436d8f
push eax
call fcn.004c31b0
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.004c31a1
add esp, 0x5c8
ret