Function at 0x42c060
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480b9c
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x497040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x47c], ecx
mov dword [ebp - 0x4a0], 1
push 0x100
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00431510
add esp, 0xc
push 4
lea ecx, [ebp - 0x214]
call fcn.00428eb0
lea ecx, [ebp - 0x214]
call fcn.00427010
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4a4]
push ecx
mov ecx, dword [ebp - 0x47c]
call fcn.0042be30
mov dword [ebp - 0x4d8], eax
mov edx, dword [ebp - 0x4d8]
mov dword [ebp - 0x4dc], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4dc]
push eax
lea ecx, [ebp - 0x214]
call fcn.004276c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4a4]
call fcn.00427490
nop
push str.Resource.pak
lea ecx, [ebp - 0x214]
call fcn.0042a9c0
lea ecx, [ebp - 0x470]
push ecx
lea ecx, [ebp - 0x214]
call fcn.0042bdf0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x484], eax
push 4
lea ecx, [ebp - 0x220]
call fcn.00428eb0
push 0x4848ec
lea ecx, [ebp - 0x220]
call fcn.00426f90
mov byte [ebp - 4], 2
push 4
lea ecx, [ebp - 0x21c]
call fcn.00428eb0
lea ecx, [ebp - 0x21c]
call fcn.00427010
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0x4b0]
push ecx
mov ecx, dword [ebp - 0x47c]
call fcn.0042be30
mov dword [ebp - 0x4a8], eax
mov edx, dword [ebp - 0x4a8]
mov dword [ebp - 0x4ac], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4ac]
mov ecx, dword [eax]
push ecx
push str._sResource_s_s.pak
lea edx, [ebp - 0x21c]
push edx
call fcn.0042bc60
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4b0]
call fcn.00427490
nop
cmp dword [ebp - 0x484], 0xffffffff
jne 0x42c2b0
push 0
push 0
push 0x100
lea eax, [ebp - 0x210]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x21c]
call fcn.0042bdf0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
push 0x2b8
call fcn.0042efda
add esp, 4
mov dword [ebp - 0x488], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x488], 0
je 0x42c262
push 0x2b8
mov ecx, dword [ebp - 0x488]
call fcn.0042df30
mov ecx, dword [ebp - 0x488]
call fcn.00401e40
mov dword [ebp - 0x498], eax
jmp 0x42c26c
mov dword [ebp - 0x498], 0
mov ecx, dword [ebp - 0x498]
mov dword [ebp - 0x4b4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x478], edx
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x478]
call fcn.00402870
lea ecx, [ebp - 0x478]
push ecx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x38
call fcn.0042e2d0
nop
cmp dword [ebp - 0x484], 0xffffffff
je 0x42c60a
mov edx, dword [ebp - 0x470]
and edx, 0x10
jne 0x42c4be
push 4
lea ecx, [ebp - 0x218]
call fcn.00428eb0
lea ecx, [ebp - 0x218]
call fcn.00427010
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x47c]
call fcn.0042be30
mov dword [ebp - 0x4b8], eax
mov ecx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4bc], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4bc]
push edx
lea ecx, [ebp - 0x218]
call fcn.004276c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c0]
call fcn.00427490
nop
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x218]
call fcn.0042aa50
nop
push 0x2b8
call fcn.0042efda
add esp, 4
mov dword [ebp - 0x48c], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x48c], 0
je 0x42c388
push 0x2b8
mov ecx, dword [ebp - 0x48c]
call fcn.0042df30
mov ecx, dword [ebp - 0x48c]
call fcn.00401e40
mov dword [ebp - 0x49c], eax
jmp 0x42c392
mov dword [ebp - 0x49c], 0
mov ecx, dword [ebp - 0x49c]
mov dword [ebp - 0x4c4], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x4c4]
mov dword [ebp - 0x474], edx
push 0x100
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.00431510
add esp, 0xc
push 0
push 0
push 0x100
lea ecx, [ebp - 0x110]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x218]
call fcn.0042bdf0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
push 0
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp - 0x474]
call fcn.00402650
movzx eax, al
test eax, eax
je 0x42c423
lea ecx, [ebp - 0x474]
push ecx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x38
call fcn.0042e2d0
nop
jmp 0x42c4ae
push 0
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp - 0x474]
call fcn.00402650
movzx eax, al
test eax, eax
je 0x42c456
lea ecx, [ebp - 0x474]
push ecx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x38
call fcn.0042e2d0
nop
jmp 0x42c4ae
cmp dword [ebp - 0x474], 0
je 0x42c4a4
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x490], edx
cmp dword [ebp - 0x490], 0
je 0x42c490
push 1
mov eax, dword [ebp - 0x490]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x490]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x4c8], eax
jmp 0x42c49a
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x4a0], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x218]
call fcn.00427490
nop
lea ecx, [ebp - 0x470]
push ecx
mov edx, dword [ebp - 0x484]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42c4db
jmp 0x42c60a
mov eax, dword [ebp - 0x47c]
cmp dword [eax + 0x34], 0
je 0x42c605
mov dword [ebp - 0x480], 0
jmp 0x42c506
mov ecx, dword [ebp - 0x480]
add ecx, 1
mov dword [ebp - 0x480], ecx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x38
call fcn.0042e310
cmp dword [ebp - 0x480], eax
jge 0x42c5c3
mov edx, dword [ebp - 0x480]
push edx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x38
call fcn.0042a890
mov ecx, dword [eax]
call fcn.00402450
nop
mov eax, dword [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x47c]
add ecx, 0x38
call fcn.0042a890
cmp dword [eax], 0
je 0x42c5be
mov ecx, dword [ebp - 0x480]
push ecx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x38
call fcn.0042a890
mov edx, dword [eax]
mov dword [ebp - 0x494], edx
cmp dword [ebp - 0x494], 0
je 0x42c599
push 1
mov eax, dword [ebp - 0x494]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x494]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x4cc], eax
jmp 0x42c5a3
mov dword [ebp - 0x4cc], 0
mov ecx, dword [ebp - 0x480]
push ecx
mov ecx, dword [ebp - 0x47c]
add ecx, 0x38
call fcn.0042a890
mov dword [eax], 0
jmp 0x42c4f7
mov dword [ebp - 0x4d0], 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
call fcn.00427490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00427490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.00427490
mov eax, dword [ebp - 0x4d0]
jmp 0x42c65a
jmp 0x42c2b0
mov edx, dword [ebp - 0x484]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
mov eax, dword [ebp - 0x4a0]
mov dword [ebp - 0x4d4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
call fcn.00427490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00427490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.00427490
mov eax, dword [ebp - 0x4d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f4a5
mov esp, ebp
pop ebp
ret