Function at 0x418800
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x45b381
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov eax, dword [0x473e34]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x1a4]
mov dword [esp + 0x198], 0
mov ebp, dword [esi + 8]
mov edi, dword [esi + 4]
cmp ebp, ebp
mov ebx, ebp
je 0x418858
push ebx
mov ecx, edi
call fcn.0044b226
add ebx, 4
add edi, 4
cmp ebx, ebp
jne 0x418846
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.00419910
mov ebx, dword [esp + 0x1a0]
mov dword [esi + 8], edi
lea ecx, [esp + 0x50]
mov eax, dword [ebx]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x418a73
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
cmp eax, 2
je 0x418b2d
push eax
call dword [sym.imp.kernel32.dll_SetLastError]
call esi
mov edx, dword [0x473e34]
mov esi, eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0x18]
push esi
push eax
mov byte [esp + 0x1a0], 1
call fcn.004185b0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov bl, 5
push 0x472e78
push ecx
mov byte [esp + 0x1a4], bl
call fcn.0044b3f6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 6
call fcn.0044b505
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], bl
call fcn.0044b0ed
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], 1
call fcn.0044b0ed
mov edx, dword [0x4733f8]
push 0
push 0x472bd0
push 0x472bd0
push 0
push edx
call fcn.00427ce2
add esp, 0x14
test eax, eax
jne 0x418944
mov eax, dword [0x4733f8]
mov dword [0x4733f8], 0x476ac0
mov dword [0x476af0], eax
push 0x472bc4
lea ecx, [esp + 0x18]
call fcn.0044b15b
mov bl, 7
push 0x4731e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], bl
call fcn.0044b15b
push 1
push esi
lea ecx, [esp + 0x1c]
push 0x2f
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [0x4733f8]
push edx
mov byte [esp + 0x1ac], 8
call fcn.00416ba0
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], bl
call fcn.0044b0ed
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], 1
call fcn.0044b0ed
mov ecx, dword [0x4733f8]
lea eax, [esp + 0x10]
push eax
call fcn.00416c20
mov ecx, dword [0x4733f8]
call fcn.00417660
mov ecx, dword [0x4733f8]
push ecx
call fcn.0041ca20
mov esi, dword [0x4733f8]
add esp, 4
lea ecx, [esp + 0x24]
lea edx, [esi + 4]
push edx
call fcn.0044ae62
lea eax, [esi + 8]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x19c], 9
call fcn.0044ae62
lea ecx, [esi + 0xc]
mov byte [esp + 0x198], 0xa
push ecx
lea ecx, [esp + 0x30]
call fcn.0044ae62
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x18]
mov dword [esp + 0x30], edx
mov eax, dword [esi + 0x14]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x19c], 0xb
mov dword [esp + 0x38], eax
call fcn.0044ae62
mov edx, dword [esi + 0x1c]
add esi, 0x20
mov dword [esp + 0x3c], edx
push 0x468408
mov eax, dword [esi]
mov byte [esp + 0x19c], 1
mov dword [esp + 0x44], eax
lea eax, [esp + 0x24]
mov ecx, dword [esi + 4]
push eax
mov dword [esp + 0x4c], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x28], 0x460134
mov dword [esp + 0x50], edx
call fcn.00427a71
push 0x5c
mov ecx, ebx
call fcn.0044913b
cmp eax, 0xffffffff
jne 0x418a91
push 0x476a10
lea ecx, [esp + 0x20]
call fcn.0044b29d
jmp 0x418acb
push 0x5c
mov ecx, ebx
call fcn.0044913b
inc eax
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.004490c3
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x19c], 0xc
call fcn.0044b226
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 0
call fcn.0044b0ed
mov ebp, dword [sym.imp.kernel32.dll_FindNextFileA]
mov bl, 0xd
lea edx, [esp + 0x7c]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0044b382
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x1a4], bl
call fcn.004119c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 0
call fcn.0044b0ed
lea edx, [esp + 0x50]
push edx
push edi
call ebp
test eax, eax
jne 0x418ad3
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
cmp eax, 0x12
push edi
jne 0x418b5a
call dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x198], 0xffffffff
call fcn.0044b0ed
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret
call dword [sym.imp.kernel32.dll_FindClose]
call esi
mov esi, eax
mov eax, dword [0x473e34]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x14]
mov bl, 0xe
push esi
push ecx
mov byte [esp + 0x1a0], bl
call fcn.004185b0
add esp, 8
push eax
lea edx, [esp + 0x14]
push 0x472e78
push edx
mov byte [esp + 0x1a4], 0x12
call fcn.0044b3f6
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], 0x13
call fcn.0044b505
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 0x12
call fcn.0044b0ed
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], bl
call fcn.0044b0ed
mov eax, dword [0x4733f8]
push 0
push 0x472bd0
push 0x472bd0
push 0
push eax
call fcn.00427ce2
add esp, 0x14
test eax, eax
jne 0x418c05
mov ecx, dword [0x4733f8]
mov dword [0x4733f8], 0x476ac0
mov dword [0x476af0], ecx
push 0x472bc4
lea ecx, [esp + 0x18]
call fcn.0044b15b
push 0x4731e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 0x14
call fcn.0044b15b
mov ecx, dword [0x4733f8]
push 1
push esi
lea edx, [esp + 0x1c]
push 0x42
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x1ac], 0x15
call fcn.00416ba0
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 0x14
call fcn.0044b0ed
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], bl
call fcn.0044b0ed
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x4733f8]
call fcn.00416c20
mov ecx, dword [0x4733f8]
call fcn.00417660
mov edx, dword [0x4733f8]
push edx
call fcn.0041ca20
mov esi, dword [0x4733f8]
add esp, 4
lea ecx, [esp + 0x24]
lea eax, [esi + 4]
push eax
call fcn.0044ae62
lea ecx, [esi + 8]
mov byte [esp + 0x198], 0x16
push ecx
lea ecx, [esp + 0x2c]
call fcn.0044ae62
lea edx, [esi + 0xc]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0x19c], 0x17
call fcn.0044ae62
mov eax, dword [esi + 0x10]
lea edx, [esi + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x19c], 0x18
call fcn.0044ae62
mov eax, dword [esi + 0x1c]
add esi, 0x20
mov dword [esp + 0x3c], eax
push 0x468408
mov ecx, dword [esi]
mov byte [esp + 0x19c], bl
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x24]
mov edx, dword [esi + 4]
push ecx
mov dword [esp + 0x4c], edx
mov eax, dword [esi + 8]
mov dword [esp + 0x28], 0x460134
mov dword [esp + 0x50], eax
call fcn.00427a71
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop