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

Disassembly:
sub esp, 0xa54
mov eax, dword [0x447648]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0xa60], eax
call fcn.0041d0b0
test eax, eax
je 0x425759
mov eax, dword [esp + 0xa70]
test eax, eax
je 0x425594
cmp word [eax], 0
je 0x425594
push eax
lea eax, [esp + 0x264]
push eax
call fcn.00418690
jmp 0x4255ae
mov edx, dword [esp + 0xa6c]
push 0x10000000
lea ecx, [esp + 0x264]
push ecx
push edx
call fcn.004185a0
mov ebp, dword [esp + 0xa68]
cmp ebp, 0xffffffff
lea eax, [esp + 0x10]
push eax
jne 0x42561a
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x425645
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4255f0
cmp eax, 3
je 0x4255f0
cmp eax, 0x12
je 0x4255f0
mov eax, 1
jmp 0x4255f2
xor eax, eax
mov edx, dword [esp + 0xa74]
mov byte [edx + 0x10c0], al
mov eax, ebp
mov ecx, dword [esp + 0xa60]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0042b7bd
add esp, 0xa54
ret 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x425645
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xa74]
cmp eax, 0x12
setne cl
mov byte [edx + 0x10c0], cl
mov eax, esi
jmp 0x425601
mov esi, dword [esp + 0xa74]
lea eax, [esp + 0x260]
push eax
lea edi, [esi + 0x400]
push edi
call fcn.00418690
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.004178e0
push eax
call fcn.00418690
push 0x10000000
push esi
push edi
call fcn.00418560
mov edx, dword [esp + 0x2c]
push 1
push 0
push 0
push edx
call fcn.0042d7b0
mov ecx, dword [esp + 0x30]
xor ebx, ebx
add eax, ecx
adc edx, ebx
mov dword [esi + 0xc00], eax
push 0x10000000
lea eax, [esi + 0xca8]
mov dword [esi + 0xc04], edx
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x24c]
push ecx
mov dword [esi + 0xc08], edx
call fcn.00418560
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10a8], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x10b0], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x10b4], edx
mov dword [esi + 0x10ac], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x24]
mov dword [esi + 0x10bc], ecx
lea ebx, [esi + 0xc18]
push edx
mov ecx, ebx
mov dword [esi + 0x10b8], eax
call fcn.0041cde0
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0xc48]
call fcn.0041cde0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0xc78]
call fcn.0041cde0
mov ecx, ebx
call fcn.0041cbd0
push edi
mov dword [esi + 0xc0c], eax
call fcn.00418f80
test al, al
je 0x4255ff
mov word [edi], 0
jmp 0x4255ff
mov eax, dword [esp + 0xa6c]
test eax, eax
je 0x42577e
cmp byte [eax], 0
je 0x42577e
lea edx, [esp + 0x260]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425772
jmp 0x425798
mov eax, dword [esp + 0xa70]
push 0x10000000
lea edx, [esp + 0x264]
push edx
push eax
call fcn.00418560
mov ebp, dword [esp + 0xa68]
cmp ebp, 0xffffffff
jne 0x4257f9
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x42582c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4257e5
cmp eax, 3
je 0x4257e5
mov ecx, dword [esp + 0xa74]
mov eax, 1
mov byte [ecx + 0x10c0], al
jmp 0x4255ff
mov ecx, dword [esp + 0xa74]
xor eax, eax
mov byte [ecx + 0x10c0], al
jmp 0x4255ff
lea edx, [esp + 0x10]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42582c
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xa74]
cmp eax, 0x12
setne al
mov byte [ecx + 0x10c0], al
mov eax, esi
jmp 0x425601
mov esi, dword [esp + 0xa74]
lea eax, [esp + 0x260]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425840
push esi
lea edi, [esp + 0x40]
call fcn.00417860
mov cl, byte [edi]
inc edi
mov byte [eax], cl
inc eax
test cl, cl
jne 0x425854
push 0x10000000
lea edi, [esi + 0x400]
push edi
push esi
call fcn.004185a0
mov edx, dword [esp + 0x2c]
push 1
push 0
push 0
push edx
call fcn.0042d7b0
mov ecx, dword [esp + 0x30]
xor ebx, ebx
add eax, ecx
adc edx, ebx
mov dword [esi + 0xc04], edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0xc00], eax
mov dword [esi + 0xc08], edx
lea eax, [esp + 0x140]
lea edx, [esi + 0xca8]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4258b1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10a8], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x10b0], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x10b4], edx
mov dword [esi + 0x10ac], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x24]
mov dword [esi + 0x10bc], ecx
lea ebx, [esi + 0xc18]
push edx
mov ecx, ebx
mov dword [esi + 0x10b8], eax
call fcn.0041cde0
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0xc48]
call fcn.0041cde0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0xc78]
call fcn.0041cde0
mov ecx, ebx
call fcn.0041cbd0
push esi
mov dword [esi + 0xc0c], eax
call fcn.00418f50
test al, al
mov eax, ebp
je 0x425601
mov word [edi], 0
jmp 0x425601