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

Disassembly:
push 0xffffffffffffffff
push 0x478091
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov eax, dword [0x49aec0]
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 0x42bbe8
push ebx
mov ecx, edi
call fcn.004659cb
add ebx, 4
add edi, 4
cmp ebx, ebp
jne 0x42bbd6
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.0040e7a0
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 0x42be03
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
cmp eax, 2
je 0x42bebd
push eax
call dword [sym.imp.kernel32.dll_SetLastError]
call esi
mov edx, dword [0x49aec0]
mov esi, eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0x18]
push esi
push eax
mov byte [esp + 0x1a0], 1
call fcn.0042b940
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov bl, 5
push 0x498ca0
push ecx
mov byte [esp + 0x1a4], bl
call fcn.00465b9b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 6
call fcn.00465caa
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], bl
call fcn.00465892
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], 1
call fcn.00465892
mov edx, dword [0x49a15c]
push 0
push 0x498b18
push 0x498b18
push 0
push edx
call fcn.004420f7
add esp, 0x14
test eax, eax
jne 0x42bcd4
mov eax, dword [0x49a15c]
mov dword [0x49a15c], 0x49e1e0
mov dword [0x49e210], eax
push 0x498b0c
lea ecx, [esp + 0x18]
call fcn.00465900
mov bl, 7
push 0x499f20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], bl
call fcn.00465900
push 1
push esi
lea ecx, [esp + 0x1c]
push 0x2f
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [0x49a15c]
push edx
mov byte [esp + 0x1ac], 8
call fcn.00429ee0
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], bl
call fcn.00465892
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], 1
call fcn.00465892
mov ecx, dword [0x49a15c]
lea eax, [esp + 0x10]
push eax
call fcn.00429f60
mov ecx, dword [0x49a15c]
call fcn.0042a9e0
mov ecx, dword [0x49a15c]
push ecx
call fcn.0042fd80
mov esi, dword [0x49a15c]
add esp, 4
lea ecx, [esp + 0x24]
lea edx, [esi + 4]
push edx
call fcn.00465607
lea eax, [esi + 8]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x19c], 9
call fcn.00465607
lea ecx, [esi + 0xc]
mov byte [esp + 0x198], 0xa
push ecx
lea ecx, [esp + 0x30]
call fcn.00465607
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.00465607
mov edx, dword [esi + 0x1c]
add esi, 0x20
mov dword [esp + 0x3c], edx
push 0x48a578
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], vtable.rl::CError.0
mov dword [esp + 0x50], edx
call fcn.004419d1
push 0x5c
mov ecx, ebx
call fcn.0046354c
cmp eax, 0xffffffff
jne 0x42be21
push 0x49dd08
lea ecx, [esp + 0x20]
call fcn.00465a42
jmp 0x42be5b
push 0x5c
mov ecx, ebx
call fcn.0046354c
inc eax
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.004634d4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x19c], 0xc
call fcn.004659cb
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 0
call fcn.00465892
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.00465b27
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x1a4], bl
call fcn.0040e520
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 0
call fcn.00465892
lea edx, [esp + 0x50]
push edx
push edi
call ebp
test eax, eax
jne 0x42be63
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
cmp eax, 0x12
push edi
jne 0x42beea
call dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x198], 0xffffffff
call fcn.00465892
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 [0x49aec0]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x14]
mov bl, 0xe
push esi
push ecx
mov byte [esp + 0x1a0], bl
call fcn.0042b940
add esp, 8
push eax
lea edx, [esp + 0x14]
push 0x498ca0
push edx
mov byte [esp + 0x1a4], 0x12
call fcn.00465b9b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], 0x13
call fcn.00465caa
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 0x12
call fcn.00465892
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], bl
call fcn.00465892
mov eax, dword [0x49a15c]
push 0
push 0x498b18
push 0x498b18
push 0
push eax
call fcn.004420f7
add esp, 0x14
test eax, eax
jne 0x42bf95
mov ecx, dword [0x49a15c]
mov dword [0x49a15c], 0x49e1e0
mov dword [0x49e210], ecx
push 0x498b0c
lea ecx, [esp + 0x18]
call fcn.00465900
push 0x499f20
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 0x14
call fcn.00465900
mov ecx, dword [0x49a15c]
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.00429ee0
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 0x14
call fcn.00465892
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], bl
call fcn.00465892
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x49a15c]
call fcn.00429f60
mov ecx, dword [0x49a15c]
call fcn.0042a9e0
mov edx, dword [0x49a15c]
push edx
call fcn.0042fd80
mov esi, dword [0x49a15c]
add esp, 4
lea ecx, [esp + 0x24]
lea eax, [esi + 4]
push eax
call fcn.00465607
lea ecx, [esi + 8]
mov byte [esp + 0x198], 0x16
push ecx
lea ecx, [esp + 0x2c]
call fcn.00465607
lea edx, [esi + 0xc]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0x19c], 0x17
call fcn.00465607
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.00465607
mov eax, dword [esi + 0x1c]
add esi, 0x20
mov dword [esp + 0x3c], eax
push 0x48a578
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], vtable.rl::CError.0
mov dword [esp + 0x50], eax
call fcn.004419d1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop