Function at 0x4227e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c18c8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4f4524]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4524]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x17], bl
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x80], ebx
cmp eax, ebx
je 0x4228b6
push eax
lea ecx, [esp + 0x24]
call fcn.00418b00
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 1
call fcn.00401762
mov esi, 0x10
mov byte [esp + 0x80], bl
cmp dword [esp + 0x38], esi
jb 0x422892
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00443052
add esp, 4
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x4228a0
lea eax, [esp + 0x40]
push eax
call fcn.004222d0
add esp, 4
cmp eax, ebp
setb al
cmp al, bl
je 0x4229a9
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebx
push ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x4228f1
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x17]
push edx
mov ecx, esi
call fcn.00418b00
cmp dword [esp + 0x54], 0x10
jb 0x4228ea
mov eax, dword [esp + 0x40]
push eax
call fcn.00443052
add esp, 4
mov eax, esi
jmp 0x422a96
push esi
lea ecx, [esp + 0x40]
call fcn.00418b80
push eax
push esi
call edi
mov eax, dword [esp + 0x40]
mov esi, 0x10
cmp dword [esp + 0x54], esi
jae 0x422912
lea eax, [esp + 0x40]
push eax
call fcn.0041a050
mov ecx, dword [esp + 0x54]
add esp, 4
cmp eax, ecx
ja 0x422931
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x44]
call fcn.004012c7
jmp 0x42293e
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x44]
call fcn.00409315
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x42294c
lea eax, [esp + 0x40]
push eax
call fcn.004222d0
add esp, 4
cmp eax, ebp
jae 0x4229a5
lea ecx, [esp + 0x3c]
push ecx
call fcn.004226c0
add esp, 4
test al, al
je 0x422985
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x422978
lea eax, [esp + 0x40]
push eax
call fcn.004222d0
add esp, 4
cmp eax, ebp
jae 0x4229a5
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x17]
push edx
mov ecx, esi
call fcn.00418b00
lea ecx, [esp + 0x3c]
call fcn.0040926c
mov eax, esi
jmp 0x422a96
mov edi, dword [esp + 0x18]
mov ebp, 0xf
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
push ebx
push 0x104
lea ecx, [esp + 0x60]
mov byte [esp + 0x88], 2
call fcn.00409315
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x4229e0
ja 0x4229e0
call fcn.0042ec71
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], esi
jae 0x4229ee
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x4229fc
lea ecx, [esp + 0x40]
push eax
push ebx
push 0x4d05b8
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x422a1c
lea eax, [esp + 0x17]
push eax
mov ecx, edi
call fcn.00418b00
jmp 0x422a62
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], esi
jae 0x422a2a
lea eax, [esp + 0x5c]
push eax
call fcn.0041a050
mov ecx, dword [esp + 0x70]
add esp, 4
cmp eax, ecx
ja 0x422a49
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x60]
call fcn.004012c7
jmp 0x422a56
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x60]
call fcn.00409315
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.00412790
cmp dword [esp + 0x70], esi
jb 0x422a75
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00443052
add esp, 4
mov byte [esp + 0x5c], bl
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebp
cmp dword [esp + 0x54], esi
jb 0x422a94
mov edx, dword [esp + 0x40]
push edx
call fcn.00443052
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00443ac5
add esp, 0x70
ret