Function at 0x4393a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3f50
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
push edi
lea edi, [ebp - 0x114]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x616870]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x110], 0
mov al, byte [0x5c15c8]
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x20]
call fcn.0040bb90
mov dword [ebp - 4], 0
mov byte [ebp - 0x29], 1
cmp dword [ebp + 0xc], 0
je 0x43942f
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20]
call fcn.00429bd0
lea ecx, [ebp - 0x20]
call fcn.004088a0
push eax
call fcn.00439080
add esp, 4
cmp eax, dword [ebp + 0x10]
sbb eax, eax
neg eax
mov byte [ebp - 0x29], al
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x439524
mov esi, esp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.00544880
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x439489
lea eax, [ebp - 0x11]
push eax
mov ecx, dword [ebp + 8]
call fcn.00429ad0
mov ecx, dword [ebp - 0x110]
or ecx, 1
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00408860
mov eax, dword [ebp + 8]
jmp 0x4395df
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042a540
mov esi, esp
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.00544880
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.0042a660
lea ecx, [ebp - 0x20]
call fcn.004088a0
push eax
call fcn.00439080
add esp, 4
cmp eax, dword [ebp + 0x10]
jae 0x439524
lea eax, [ebp - 0x20]
push eax
call fcn.00439660
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4394f2
lea ecx, [ebp - 0x20]
call fcn.004088a0
push eax
call fcn.00439080
add esp, 4
cmp eax, dword [ebp + 0x10]
jae 0x439524
lea eax, [ebp - 0x11]
push eax
mov ecx, dword [ebp + 8]
call fcn.00429ad0
mov ecx, dword [ebp - 0x110]
or ecx, 1
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00408860
mov eax, dword [ebp + 8]
jmp 0x4395df
lea ecx, [ebp - 0x44]
call fcn.0040bb90
mov byte [ebp - 4], 1
push 0x104
lea ecx, [ebp - 0x44]
call fcn.0042a540
mov esi, esp
push eax
push 0
push 0x5c5a1c
lea ecx, [ebp - 0x20]
call fcn.004088a0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp esi, esp
call fcn.00544880
test eax, eax
jne 0x43959c
lea eax, [ebp - 0x11]
push eax
mov ecx, dword [ebp + 8]
call fcn.00429ad0
mov ecx, dword [ebp - 0x110]
or ecx, 1
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00408860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00408860
mov eax, dword [ebp + 8]
jmp 0x4395df
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
call fcn.0042a660
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
call fcn.00429a80
mov ecx, dword [ebp - 0x110]
or ecx, 1
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00408860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00408860
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x439610]
call fcn.005448b0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x114
cmp ebp, esp
call fcn.00544880
mov esp, ebp
pop ebp
ret