Function at 0x418dc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e1b6
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.0041a110
lea ecx, [ebp - 0x18c]
call fcn.00405ec0
mov ecx, esp
mov dword [ebp - 4], 0
push 0x466b48
call fcn.0041a110
lea ecx, [ebp - 0x174]
call fcn.00405ec0
mov ecx, esp
mov byte [ebp - 4], 1
push 0x467238
call fcn.0041a110
lea ecx, [ebp - 0x1bc]
call fcn.00405ec0
mov ecx, esp
mov byte [ebp - 4], 2
push 0x467298
call fcn.0041a110
lea ecx, [ebp - 0x1a4]
call fcn.00405ec0
mov ecx, esp
mov byte [ebp - 4], 3
push 0x466d28
call fcn.0041a110
lea ecx, [ebp - 0x1ec]
call fcn.00405ec0
mov ecx, esp
mov byte [ebp - 4], 4
push 0x466ae8
call fcn.0041a110
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 0x418ed0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.0041a930
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 0x466f08
call fcn.0041a110
lea ecx, [ebp - 0x15c]
call fcn.00405ec0
mov ecx, esp
mov byte [ebp - 4], 7
push 0x467148
call fcn.0041a110
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.0041ac30
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.0041ac30
sub esp, 0x14
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x1f4], esp
lea edx, [ebp - 0x12c]
push 0x466da0
call fcn.0041ac30
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.0041ac30
sub esp, 0x14
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18c]
mov ecx, esp
push eax
call fcn.0041a110
mov byte [ebp - 4], 8
call fcn.0040bf30
add esp, 0x48
lea eax, [ebp - 0x144]
mov ecx, esp
mov dword [ebp - 0x1fc], esp
mov edx, 0x466da0
push eax
call fcn.0041ac30
sub esp, 0x14
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x1f8], esp
lea edx, [ebp - 0x12c]
push 0x466da0
call fcn.0041ac30
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.0041ac30
sub esp, 0x14
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x1bc]
mov ecx, esp
push eax
call fcn.0041a110
mov byte [ebp - 4], 8
call fcn.0040bf30
add esp, 0x48
lea eax, [ebp - 0x144]
mov ecx, esp
mov dword [ebp - 0x1fc], esp
mov edx, 0x466da0
push eax
call fcn.0041ac30
mov byte [ebp - 4], 0xf
sub esp, 0x14
lea edx, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x1f8], esp
push 0x466da0
call fcn.0041ac30
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.0041ac30
sub esp, 0x14
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x1ec]
mov ecx, esp
push eax
call fcn.0041a110
mov byte [ebp - 4], 8
call fcn.0040bf30
push 0x466da0
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x214]
call fcn.0041ac30
add esp, 0x64
cmp dword [eax + 0x14], 0x10
jb 0x4190db
mov eax, dword [eax]
push 0x45bdd0
push eax
call fcn.00438f99
add esp, 8
test eax, eax
je 0x4190fa
push eax
call fcn.00439027
add esp, 4
mov bl, 1
jmp 0x4190fc
xor bl, bl
mov edx, dword [ebp - 0x200]
cmp edx, 0x10
jb 0x419132
mov ecx, dword [ebp - 0x214]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419128
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4191a3
push edx
push ecx
call fcn.0041fed9
add esp, 8
test bl, bl
je 0x419196
push 0x466da0
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x214]
call fcn.0041ac30
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x419157
mov eax, dword [eax]
push eax
call fcn.004392b4
mov edx, dword [ebp - 0x200]
add esp, 4
cmp edx, 0x10
jb 0x419196
mov eax, dword [ebp - 0x214]
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x41918c
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x4191a3
push edx
push eax
call fcn.0041fed9
add esp, 8
push dword [0x466994]
call esi
jmp 0x418f32
call fcn.004394da
int3