Function at 0x4297f0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x670
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x69c]
push 0x103
lea eax, [esp + 0x274]
push edi
push eax
mov dword [esp + 0x28], ecx
call fcn.00485434
add esp, 0xc
lea edx, [esp + 0x270]
xor ecx, ecx
push 0x5c
push edx
mov word [esp + 0x47e], cx
call fcn.00483835
add esp, 8
test eax, eax
je 0x429887
lea esi, [eax + 2]
lea edx, [esp + 0x478]
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x429850
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x270]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429870
sub eax, edx
sar eax, 1
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x4298b8
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x270]
mov word [esp + eax + 0x478], cx
add eax, 2
test cx, cx
jne 0x429890
xor ecx, ecx
mov word [esp + 0x270], cx
mov dword [esp + 0x10], ecx
mov ebx, ecx
lea edx, [esp + 0x20]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp + 0x14], edi
mov esi, eax
test esi, esi
je 0x42990d
mov edi, edi
mov eax, dword [esp + 0x694]
lea ecx, [esp + 0x270]
push ecx
lea edx, [esp + 0x24]
call fcn.0043e070
add esp, 4
test al, al
je 0x42990d
lea edx, [esp + 0x20]
push edx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x4298e0
mov ebp, dword [0x4bd4c4]
mov ebx, dword [esp + 0x684]
test esi, esi
je 0x429b26
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
mov dword [ebp + 0x10], eax
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 0x6e
jne 0x429954
mov ecx, dword [ecx + 0x14]
lea edx, [esp + 0x18]
push edx
push ebx
push 2
call fcn.00423660
mov ecx, dword [edi + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, ecx
je 0x429935
jmp 0x429967
lea eax, [esp + 0x18]
push eax
push ebx
push 3
call fcn.00423660
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42999b
cmp esi, 6
jne 0x429cb2
cmp eax, edi
je 0x4299a5
mov ecx, dword [esp + 0x68c]
mov dword [ecx], eax
cmp esi, 1
je 0x4299a5
cmp esi, 6
jne 0x429a16
cmp dword [esp + 0x690], 0
je 0x429a57
mov ecx, dword [esp + 0x690]
push 0
push 0xffffffffffffffff
push 0
push ecx
call fcn.00451bf0
mov esi, eax
cmp esi, 1
jne 0x429a16
mov eax, dword [0x4c0c70]
movzx ecx, word [eax]
mov edi, eax
cmp ecx, 0x30
ja 0x429a16
test ecx, ecx
je 0x429a57
cmp ecx, 0x30
jne 0x4299ec
cmp word [eax + 2], 0
je 0x429a57
push 0
push 1
push 0
push 1
call fcn.00466dc0
add esp, 0x10
dec eax
je 0x429a30
dec eax
jne 0x429a16
push edi
call fcn.00483822
fldz
fucompp
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x429a57
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x670
ret 0x1c
mov eax, edi
call fcn.0040c8b0
test al, al
je 0x429a4a
push 0x10
push 0
push edi
call fcn.00483743
add esp, 0xc
jmp 0x429a53
push edi
call fcn.00483021
add esp, 4
or eax, edx
jne 0x429a16
mov esi, dword [esp + 0x14]
jmp 0x429a60
lea edx, [esp + 0x20]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
test edi, edi
je 0x429b16
test byte [esp + 0x20], 0x10
je 0x429aa7
cmp dword [esp + 0x694], 1
je 0x429a60
cmp word [esp + 0x4c], 0x2e
jne 0x429ab1
mov ax, word [esp + 0x4e]
test ax, ax
je 0x429a60
cmp ax, 0x2e
jne 0x429ab1
cmp word [esp + 0x50], 0
jmp 0x429aaf
cmp dword [esp + 0x694], 3
je 0x429a60
cmp word [esp + 0x270], 0
je 0x429b16
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429ac3
mov ecx, dword [esp + 0x10]
sub eax, edx
sar eax, 1
lea edx, [eax + ecx]
cmp edx, 0x104
jae 0x429a60
mov esi, ecx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esp + 0x50]
add esi, esi
push ecx
lea edx, [esp + esi + 0x54]
push edx
call fcn.004827f0
add esp, 0xc
push esi
lea eax, [esp + 0x274]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00485e70
add esp, 0xc
add dword [ebp + 8], 1
adc dword [ebp + 0xc], 0
test edi, edi
jne 0x429922
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
invalid
je 0x429b36
push eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x670
ret 0x1c
cmp eax, edi
jne 0x429978
mov edx, dword [esp + 0x688]
mov byte [edx], 1
jmp 0x429981