Function at 0x429630
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x493f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push ebp
push esi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
or ebp, 0xffffffff
cmp word [edi], 0
je 0x429879
push edi
lea ecx, [esp + 0x14]
call fcn.00404740
mov dword [esp + 0x270], 0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
lea esi, [eax + 0x104]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4296b8
push esi
lea ecx, [esp + 0x14]
call fcn.004044c0
mov edx, dword [esp + 0x10]
push 0x4a7168
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x4296d0
xor eax, eax
jmp 0x4296ea
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4296d5
sub eax, esi
sar eax, 1
js 0x4298a2
cmp eax, dword [edx - 8]
jg 0x4298a2
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42984e
xor ebp, ebp
lea ecx, [ecx]
test byte [esp + 0x14], 0x10
je 0x42982f
lea ecx, [esp + 0x40]
push 0x4a2e38
push ecx
call fcn.0047a268
add esp, 8
test eax, eax
je 0x42982f
lea edx, [esp + 0x40]
push 0x4a72f8
push edx
call fcn.0047a268
add esp, 8
test eax, eax
je 0x42982f
cmp word [esp + 0x40], 0x5f
je 0x42982f
push edi
lea ecx, [esp + 0x14]
call fcn.00404a80
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
lea esi, [eax + 0x105]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4297a1
push esi
lea ecx, [esp + 0x14]
call fcn.004044c0
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x4297b9
xor eax, eax
jmp 0x4297d5
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4297c0
sub eax, esi
sar eax, 1
js 0x4298a2
cmp eax, dword [edx - 8]
jg 0x4298a2
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov ecx, dword [esp + 0x10]
call fcn.00428d10
test eax, eax
je 0x42982f
xor eax, eax
mov esi, 0x49fdf0
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x429822
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0047a268
add esp, 8
neg eax
sbb eax, eax
add eax, 1
add esi, 0x10
test eax, eax
je 0x429800
xor ecx, ecx
test eax, eax
setne cl
lea ecx, [ecx + ecx - 1]
mov ebp, ecx
test ebp, ebp
jl 0x429847
lea edx, [esp + 0x14]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x429720
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x270], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429879
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.0047a105
add esp, 0x264
ret
push 0x80070057
call fcn.004022b0
int3