Function at 0x422060
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45bbad
mov eax, dword fs:[0]
push eax
sub esp, 0x6a8
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x6a4], eax
push ebp
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x6b8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x6c8]
push 0x208
lea eax, [esp + 0x2a8]
push 0
push eax
mov ebp, 1
call fcn.00440500
add esp, 0xc
lea ecx, [esp + 0x2a4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea edx, [esp + 0x4b0]
push 0
push edx
call fcn.00440500
push 0
call fcn.0044057a
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x3c], edx
call fcn.00441ca7
add esp, 0x14
test eax, eax
je 0x42211f
push eax
push 0x464f04
lea ecx, [esp + 0x4b4]
push 0x104
push ecx
call fcn.00443ebc
add esp, 0x10
push 0x208
lea edx, [esp + 0xa0]
push 0
push edx
call fcn.00440500
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
lea eax, [esp + 0x2a4]
push eax
lea ecx, [esp + 0xa0]
push ecx
call esi
lea edx, [esp + 0x4ac]
push edx
lea eax, [esp + 0xa0]
push eax
call esi
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040fd40
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x6c4], 0
call fcn.00426e00
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x6c0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4221b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [str.limit]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040fd40
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x6c8], 3
call fcn.00426100
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x6c0], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422205
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x30]
call fcn.0041daa0
mov eax, dword [eax]
push eax
call fcn.004420a6
mov esi, eax
add esp, 4
cmp esi, 3
jbe 0x422223
xor ebp, ebp
mov edx, dword [0x49ea64]
mov eax, dword [edx + 0xc]
mov ecx, 0x49ea64
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
inc esi
push esi
lea ecx, [esp + 0x18]
push 0x46499c
push ecx
mov byte [esp + 0x6cc], 6
call fcn.00413e50
add esp, 0xc
push edi
lea ecx, [esp + 0x30]
call fcn.0041daa0
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.0040f7c0
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x17]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0041b660
mov edx, dword [str.limit]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c4], 7
call fcn.0040fd40
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x6c4], 8
call fcn.00421920
mov esi, eax
lea ecx, [esp + 0x2c]
cmp esi, ecx
je 0x4222da
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
call fcn.0041c9d0
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0041cab0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x6c0], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422302
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x78]
call fcn.00426e80
lea ecx, [esp + 0x74]
call fcn.00425c00
lea ecx, [esp + 0x54]
mov byte [esp + 0x6c0], 6
call fcn.00421f60
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x6c0], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422352
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c0], 2
call fcn.0041d520
lea ecx, [esp + 0x74]
mov dword [esp + 0x6c0], 0xffffffff
call fcn.00421ff0
mov eax, ebp
mov ecx, dword [esp + 0x6b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x6a4]
xor ecx, esp
call fcn.004404e6
add esp, 0x6b4
ret 4