Function at 0x418de0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e1d6
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov ecx, esp
push 0x467190
call fcn.0041a130
lea ecx, [ebp - 0x18c]
call fcn.00405ec0
mov ecx, esp
mov dword [ebp - 4], 0
push 0x466b48
call fcn.0041a130
lea ecx, [ebp - 0x174]
call fcn.00405ec0
mov ecx, esp
mov byte [ebp - 4], 1
push 0x467238
call fcn.0041a130
lea ecx, [ebp - 0x1bc]
call fcn.00405ec0
mov ecx, esp
mov byte [ebp - 4], 2
push 0x467298
call fcn.0041a130
lea ecx, [ebp - 0x1a4]
call fcn.00405ec0
mov ecx, esp
mov byte [ebp - 4], 3
push 0x466d28
call fcn.0041a130
lea ecx, [ebp - 0x1ec]
call fcn.00405ec0
mov ecx, esp
mov byte [ebp - 4], 4
push 0x466ae8
call fcn.0041a130
lea ecx, [ebp - 0x1d4]
call fcn.00405ec0
add esp, 0x18
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 5
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x12c], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418ef0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.0041a950
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 0x466f08
call fcn.0041a130
lea ecx, [ebp - 0x15c]
call fcn.00405ec0
mov ecx, esp
mov byte [ebp - 4], 7
push 0x467148
call fcn.0041a130
lea ecx, [ebp - 0x144]
call fcn.00405ec0
add esp, 0x18
mov byte [ebp - 4], 8
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
lea edx, [ebp - 0x12c]
mov ecx, esp
push 0x466da0
call fcn.0041ac50
add esp, 4
call fcn.004062e0
lea eax, [ebp - 0x144]
mov dword [ebp - 0x1f0], esp
mov ecx, esp
mov edx, 0x466da0
push eax
call fcn.0041ac50
sub esp, 0x14
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x1f4], esp
lea edx, [ebp - 0x12c]
push 0x466da0
call fcn.0041ac50
sub esp, 0x14
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x1f8], esp
mov ecx, esp
lea edx, [ebp - 0x174]
push eax
call fcn.0041ac50
sub esp, 0x14
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18c]
mov ecx, esp
push eax
call fcn.0041a130
mov byte [ebp - 4], 8
call fcn.0040bf50
add esp, 0x48
lea eax, [ebp - 0x144]
mov ecx, esp
mov dword [ebp - 0x1fc], esp
mov edx, 0x466da0
push eax
call fcn.0041ac50
sub esp, 0x14
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x1f8], esp
lea edx, [ebp - 0x12c]
push 0x466da0
call fcn.0041ac50
sub esp, 0x14
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x1f4], esp
mov ecx, esp
lea edx, [ebp - 0x1a4]
push eax
call fcn.0041ac50
sub esp, 0x14
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x1bc]
mov ecx, esp
push eax
call fcn.0041a130
mov byte [ebp - 4], 8
call fcn.0040bf50
add esp, 0x48
lea eax, [ebp - 0x144]
mov ecx, esp
mov dword [ebp - 0x1fc], esp
mov edx, 0x466da0
push eax
call fcn.0041ac50
mov byte [ebp - 4], 0xf
sub esp, 0x14
lea edx, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x1f8], esp
push 0x466da0
call fcn.0041ac50
sub esp, 0x14
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x1f4], esp
mov ecx, esp
lea edx, [ebp - 0x1d4]
push eax
call fcn.0041ac50
sub esp, 0x14
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x1ec]
mov ecx, esp
push eax
call fcn.0041a130
mov byte [ebp - 4], 8
call fcn.0040bf50
push 0x466da0
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x214]
call fcn.0041ac50
add esp, 0x64
cmp dword [eax + 0x14], 0x10
jb 0x4190fb
mov eax, dword [eax]
push 0x45bdc8
push eax
call fcn.00438fb9
add esp, 8
test eax, eax
je 0x41911a
push eax
call fcn.00439047
add esp, 4
mov bl, 1
jmp 0x41911c
xor bl, bl
mov edx, dword [ebp - 0x200]
cmp edx, 0x10
jb 0x419152
mov ecx, dword [ebp - 0x214]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419148
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4191c3
push edx
push ecx
call fcn.0041fef8
add esp, 8
test bl, bl
je 0x4191b6
push 0x466da0
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x214]
call fcn.0041ac50
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x419177
mov eax, dword [eax]
push eax
call fcn.004392d4
mov edx, dword [ebp - 0x200]
add esp, 4
cmp edx, 0x10
jb 0x4191b6
mov eax, dword [ebp - 0x214]
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x4191ac
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x4191c3
push edx
push eax
call fcn.0041fef8
add esp, 8
push dword [0x466994]
call esi
jmp 0x418f52
call fcn.004394fa
int3