Function at 0x457268
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x48b990]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x28
mov eax, 0x462fad
call fcn.0045cea5
mov eax, dword [ebp + 0x25c]
mov esi, ecx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
call fcn.004081a9
and dword [ebp - 4], 0
push 0x4752e8
lea ecx, [ebp - 0x1c]
call fcn.0041c304
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x2c], eax
jne 0x457307
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x45751c
test byte [eax + 0x1c], 1
je 0x45751c
cmp byte [eax + 0x19], 2
jb 0x45751c
push 0x475248
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
jmp 0x45751c
mov ebx, 0x475248
mov edi, 0xffff
lea eax, [ebp]
push eax
call fcn.004529aa
test al, al
pop ecx
jne 0x4574fe
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004081a9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00446b7d
push 0
push 0x4752d4
lea ecx, [ebp - 0x10]
call fcn.00421978
cmp eax, 0xffffffff
jne 0x4574ef
push 0
push dword [ebp - 0x10]
lea ecx, [esi + 0x44]
call fcn.00456df6
test eax, eax
je 0x4573aa
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x4574ef
test byte [eax + 0x1c], 1
je 0x4574ef
cmp byte [eax + 0x19], 4
jb 0x4574ef
lea ecx, [ebp + 0x2c]
push ecx
push ebx
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004070b8
add esp, 0x14
jmp 0x4574ef
push 0
push dword [ebp - 0x10]
lea ecx, [esi + 0x2c]
call fcn.00456df6
test eax, eax
je 0x45754c
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x4573ec
test byte [eax + 0x1c], 1
je 0x4573ec
cmp byte [eax + 0x19], 4
jb 0x4573ec
lea ecx, [ebp + 0x2c]
push ecx
push ebx
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004070b8
add esp, 0x14
or dword [ebp - 0x18], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
push 0x48c1ac
lea ecx, [ebp - 0x20]
call fcn.00405f70
lea eax, [ebp + 0x2c]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.00452ef9
add esp, 0xc
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.004081a9
push 0x5f
push 0x2e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00457018
push 0x466820
lea ecx, [ebp - 0x28]
call fcn.004081a9
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
jne 0x4574bd
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x28]
push eax
lea esi, [ebp - 0x18]
call fcn.004570b2
pop ecx
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x4574b2
test byte [eax + 0x1c], 1
je 0x4574b2
cmp byte [eax + 0x19], 4
jb 0x4574b2
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
and ecx, edi
push ecx
mov ecx, dword [ebp - 0x18]
shrd ecx, edx, 0x10
and ecx, edi
push ecx
mov ecx, dword [ebp - 0x14]
and ecx, edi
push ecx
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
and ecx, edi
push ecx
lea ecx, [ebp + 0x2c]
push ecx
push ebx
push 0x18
push dword [eax + 0x14]
shr edx, 0x10
push dword [eax + 0x10]
call fcn.00456ad5
add esp, 0x28
mov eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
je 0x4574ce
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push dword [ebp - 0x18]
mov eax, dword [ecx]
push dword [ebp - 0x24]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402703
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402703
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402703
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00402703
lea eax, [ebp]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x457311
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402703
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.0045ce96
add ebp, 0x254
leave
ret 4
cmp byte [esi + 0x5c], 0
jne 0x4573f4
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x4574ef
test byte [eax + 0x1c], 1
je 0x4574ef
cmp byte [eax + 0x19], 4
jb 0x4574ef
lea ecx, [ebp + 0x2c]
push ecx
push ebx
push 0x17
jmp 0x457397