Function at 0x418320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cb56
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x464014]
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 0x465178
call fcn.00419610
lea ecx, [ebp - 0x18c]
call fcn.00405310
mov ecx, esp
mov dword [ebp - 4], 0
push 0x464b48
call fcn.00419610
lea ecx, [ebp - 0x174]
call fcn.00405310
mov ecx, esp
mov byte [ebp - 4], 1
push 0x465220
call fcn.00419610
lea ecx, [ebp - 0x1bc]
call fcn.00405310
mov ecx, esp
mov byte [ebp - 4], 2
push 0x465280
call fcn.00419610
lea ecx, [ebp - 0x1a4]
call fcn.00405310
mov ecx, esp
mov byte [ebp - 4], 3
push 0x464d28
call fcn.00419610
lea ecx, [ebp - 0x1ec]
call fcn.00405310
mov ecx, esp
mov byte [ebp - 4], 4
push 0x464ae8
call fcn.00419610
lea ecx, [ebp - 0x1d4]
call fcn.00405310
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 0x418430
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.00419e30
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 0x464f08
call fcn.00419610
lea ecx, [ebp - 0x15c]
call fcn.00405310
mov ecx, esp
mov byte [ebp - 4], 7
push 0x465130
call fcn.00419610
lea ecx, [ebp - 0x144]
call fcn.00405310
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 0x464da0
call fcn.0041a130
add esp, 4
call fcn.00405730
lea eax, [ebp - 0x144]
mov dword [ebp - 0x1f0], esp
mov ecx, esp
mov edx, 0x464da0
push eax
call fcn.0041a130
sub esp, 0x14
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x1f4], esp
lea edx, [ebp - 0x12c]
push 0x464da0
call fcn.0041a130
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.0041a130
sub esp, 0x14
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18c]
mov ecx, esp
push eax
call fcn.00419610
mov byte [ebp - 4], 8
call fcn.0040b240
add esp, 0x48
lea eax, [ebp - 0x144]
mov ecx, esp
mov dword [ebp - 0x1fc], esp
mov edx, 0x464da0
push eax
call fcn.0041a130
sub esp, 0x14
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x1f8], esp
lea edx, [ebp - 0x12c]
push 0x464da0
call fcn.0041a130
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.0041a130
sub esp, 0x14
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x1bc]
mov ecx, esp
push eax
call fcn.00419610
mov byte [ebp - 4], 8
call fcn.0040b240
add esp, 0x48
lea eax, [ebp - 0x144]
mov ecx, esp
mov dword [ebp - 0x1fc], esp
mov edx, 0x464da0
push eax
call fcn.0041a130
mov byte [ebp - 4], 0xf
sub esp, 0x14
lea edx, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x1f8], esp
push 0x464da0
call fcn.0041a130
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.0041a130
sub esp, 0x14
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x1ec]
mov ecx, esp
push eax
call fcn.00419610
mov byte [ebp - 4], 8
call fcn.0040b240
push 0x464da0
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x214]
call fcn.0041a130
add esp, 0x64
cmp dword [eax + 0x14], 0x10
jb 0x41863b
mov eax, dword [eax]
push 0x45adc0
push eax
call fcn.00438466
add esp, 8
test eax, eax
je 0x41865a
push eax
call fcn.004384f4
add esp, 4
mov bl, 1
jmp 0x41865c
xor bl, bl
mov edx, dword [ebp - 0x200]
cmp edx, 0x10
jb 0x418692
mov ecx, dword [ebp - 0x214]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418688
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418703
push edx
push ecx
call fcn.0041f3db
add esp, 8
test bl, bl
je 0x4186f6
push 0x464da0
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x214]
call fcn.0041a130
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4186b7
mov eax, dword [eax]
push eax
call fcn.00438781
mov edx, dword [ebp - 0x200]
add esp, 4
cmp edx, 0x10
jb 0x4186f6
mov eax, dword [ebp - 0x214]
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x4186ec
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x418703
push edx
push eax
call fcn.0041f3db
add esp, 8
push dword [0x464994]
call esi
jmp 0x418492
call fcn.004389a7
int3