Function at 0x4036c0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1434
call fcn.00458c60
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0x1430], eax
push esi
xor esi, esi
cmp dword [0x49d808], 1
jg 0x4037b2
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2e]
push ecx
mov word [esp + 0x30], ax
call fcn.00458440
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x242]
push eax
mov word [esp + 0x244], dx
call fcn.00458440
add esp, 0x18
push 0x104
lea ecx, [esp + 0x230]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x480674
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.0045456e
lea ecx, [esp + 0x30]
push 0x104
push ecx
call fcn.00454fbe
lea edx, [esp + 0x240]
push 0x104
push edx
call fcn.00454fbe
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24c]
push ecx
call fcn.0045449e
add esp, 0x24
test eax, eax
je 0x40379a
mov esi, 3
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004541a5
add esp, 0x1434
ret
mov eax, dword [0x49d810]
mov ecx, dword [eax + 4]
push ecx
push 0x480614
call fcn.00454d25
add esp, 8
test eax, eax
jne 0x4037e9
mov esi, 1
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004541a5
add esp, 0x1434
ret
mov edx, dword [0x49d810]
mov eax, dword [edx + 4]
push eax
call fcn.004130a0
push eax
call fcn.00454d25
add esp, 8
test eax, eax
jne 0x403822
mov esi, 2
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004541a5
add esp, 0x1434
ret
mov ecx, dword [0x49d810]
mov edx, dword [ecx + 4]
push edx
push 0x480628
call fcn.00454d25
add esp, 8
test eax, eax
jne 0x40385a
mov esi, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004541a5
add esp, 0x1434
ret
mov eax, dword [0x49d810]
mov ecx, dword [eax + 4]
push ecx
push 0x480638
call fcn.00454d25
add esp, 8
test eax, eax
jne 0x403891
mov esi, 5
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004541a5
add esp, 0x1434
ret
mov edx, dword [0x49d810]
mov eax, dword [edx + 4]
push eax
push 0x480648
call fcn.00454d25
add esp, 8
test eax, eax
jne 0x403966
xor edx, edx
push 0xffe
lea esi, [eax + 6]
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
push edx
lea eax, [esp + 0x43e]
xor ecx, ecx
push eax
mov word [esp + 0x10], cx
mov word [esp + 0x440], dx
call fcn.00458440
mov ecx, dword [0x49d810]
mov edx, dword [ecx + 8]
push edx
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.004544ff
lea ecx, [esp + 0x1e]
push ecx
call fcn.00454dce
mov edx, dword [0x49d810]
mov dword [0x49e670], eax
mov eax, dword [edx + 0xc]
push eax
lea ecx, [esp + 0x454]
push 0x800
push ecx
call fcn.004544ff
add esp, 0x28
lea edx, [esp + 0x436]
push edx
mov ecx, 0x49f8a8
call fcn.0040a490
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004541a5
add esp, 0x1434
ret
mov eax, dword [0x49d810]
mov ecx, dword [eax + 4]
push ecx
push 0x480658
call fcn.00454d25
add esp, 8
test eax, eax
jne 0x4039ea
lea esi, [eax + 7]
mov dword [esp + 6], eax
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
mov eax, dword [0x49d810]
mov ecx, dword [eax + 8]
xor edx, edx
push ecx
mov word [esp + 8], dx
lea edx, [esp + 8]
push 0x10
push edx
call fcn.004544ff
lea eax, [esp + 0x12]
push eax
call fcn.00454dce
add esp, 0x10
mov dword [0x49e670], eax
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004541a5
add esp, 0x1434
ret
mov ecx, dword [0x49d810]
mov edx, dword [ecx + 4]
push edx
push 0x480668
call fcn.00454d25
add esp, 8
test eax, eax
jne 0x4036e8
mov ecx, dword [esp + 0x1434]
mov esi, 8
mov eax, esi
pop esi
xor ecx, esp
call fcn.004541a5
add esp, 0x1434
ret