Function at 0x429f10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5533d7
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x59de30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
push 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.004dafcb
add esp, 4
test eax, eax
jne 0x429f82
call fcn.0050095a
mov dword [ebp - 0x28], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
call fcn.0042f860
mov ecx, ebx
call fcn.00420110
cmp dword [ebp - 0x18], 0
je 0x42a454
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, edi
push 1
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004203f0
mov ecx, eax
call fcn.00420590
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x429fe9
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp + 0xc]
cmp ecx, eax
je 0x42a007
push 0xffffffffffffffff
push 0
push eax
call fcn.00403f60
push 0x57efa8
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00420610
lea ecx, [ebp + 0x24]
push ecx
push eax
lea eax, [ebp - 0x2b0]
push eax
mov byte [ebp - 4], 4
call fcn.0040b080
mov esi, eax
lea eax, [ebp - 0x40]
add esp, 0x18
cmp eax, esi
je 0x42a0aa
cmp dword [ebp - 0x2c], 8
jb 0x42a04e
push dword [ebp - 0x40]
call fcn.004daf24
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x14], 8
jae 0x42a080
mov eax, dword [esi + 0x10]
inc eax
je 0x42a08b
add eax, eax
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.004da6d0
add esp, 0xc
jmp 0x42a08b
mov eax, dword [esi]
mov dword [ebp - 0x40], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x29c], 8
jb 0x42a0c1
push dword [ebp - 0x2b0]
call fcn.004daf24
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2b8], 8
mov dword [ebp - 0x29c], 7
mov dword [ebp - 0x2a0], 0
mov word [ebp - 0x2b0], ax
jb 0x42a0f9
push dword [ebp - 0x2cc]
call fcn.004daf24
add esp, 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x42a146
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x24]
dec edx
and edx, ecx
mov esi, dword [eax + edx*4]
cmp dword [esi + 0x14], 8
jb 0x42a122
push dword [esi]
call fcn.004daf24
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
dec dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, 0
cmove eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x294]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x298], eax
mov esi, eax
cmp eax, 0xffffffff
je 0x42a438
mov edx, 0x57ddf0
lea ecx, [ebp - 0x268]
jmp 0x42a180
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42a1a6
test ax, ax
je 0x42a1a2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x42a1a6
add ecx, 4
add edx, 4
test ax, ax
jne 0x42a180
xor eax, eax
jmp 0x42a1ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x42a41c
mov eax, 0x57efe4
lea ecx, [ebp - 0x268]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x42a1e6
test dx, dx
je 0x42a1e2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x42a1e6
add ecx, 4
add eax, 4
test dx, dx
jne 0x42a1c0
xor eax, eax
jmp 0x42a1eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x42a41c
test byte [ebp - 0x294], 0x10
push 0x57efa8
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x2cc]
push eax
je 0x42a2fd
call fcn.00420610
lea ecx, [ebp - 0x268]
push ecx
push eax
lea eax, [ebp - 0x2b0]
push eax
mov byte [ebp - 4], 5
call fcn.0040af80
add esp, 0x18
mov edi, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
inc ecx
cmp edx, ecx
ja 0x42a24e
push 1
lea ecx, [ebp - 0x28]
call fcn.00420410
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
dec edx
and ecx, edx
add eax, ecx
and edx, eax
mov dword [ebp - 0x1c], ecx
cmp dword [esi + edx*4], 0
lea eax, [edx*4]
mov dword [ebp - 0x2b4], eax
jne 0x42a297
push 0x18
call fcn.004dafcb
add esp, 4
test eax, eax
je 0x429f7d
mov edx, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + edx], eax
mov esi, dword [ebp - 0x24]
mov eax, edx
mov esi, dword [esi + eax]
test esi, esi
je 0x42a2f5
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [edi + 0x14], 8
jae 0x42a2cc
mov eax, dword [edi + 0x10]
inc eax
je 0x42a2d6
add eax, eax
push eax
push edi
push esi
call fcn.004da6d0
add esp, 0xc
jmp 0x42a2d6
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
inc dword [ebp - 0x18]
jmp 0x42a3cb
call fcn.00420610
lea ecx, [ebp - 0x268]
push ecx
push eax
lea eax, [ebp - 0x2b0]
push eax
mov byte [ebp - 4], 7
call fcn.0040af80
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, dword [ebx + 4]
cmp esi, ecx
jae 0x42a35b
mov eax, dword [ebx]
cmp eax, esi
ja 0x42a35b
sub esi, eax
mov eax, 0x2aaaaaab
imul esi
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, dword [ebx + 8]
jne 0x42a351
push 1
mov ecx, ebx
call fcn.004201a0
mov eax, dword [ebx]
lea ecx, [esi + esi*2]
lea esi, [eax + ecx*8]
jmp 0x42a369
cmp ecx, dword [ebx + 8]
jne 0x42a369
push 1
mov ecx, ebx
call fcn.004201a0
mov edi, dword [ebx + 4]
test edi, edi
je 0x42a3c7
mov dword [edi + 0x14], 7
xor eax, eax
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esi + 0x14], 8
jae 0x42a39e
mov eax, dword [esi + 0x10]
inc eax
je 0x42a3a8
add eax, eax
push eax
push esi
push edi
call fcn.004da6d0
add esp, 0xc
jmp 0x42a3a8
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov word [esi], ax
add dword [ebx + 4], 0x18
cmp dword [ebp - 0x29c], 8
jb 0x42a3e2
push dword [ebp - 0x2b0]
call fcn.004daf24
add esp, 4
mov byte [ebp - 4], 3
xor eax, eax
cmp dword [ebp - 0x2b8], 8
mov word [ebp - 0x2b0], ax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], 7
jb 0x42a416
push dword [ebp - 0x2cc]
call fcn.004daf24
add esp, 4
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x294]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42a170
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x42a4eb
call edi
cmp dword [ebp - 0x18], 0
jne 0x429fc0
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.004202c0
push dword [ebp - 0x28]
call fcn.004daf24
add esp, 4
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x28], 0
jb 0x42a481
push dword [ebp - 0x40]
call fcn.004daf24
add esp, 4
xor eax, eax
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x42a4a6
push dword [ebp + 0xc]
call fcn.004daf24
add esp, 4
xor eax, eax
cmp dword [ebp + 0x38], 8
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], ax
jb 0x42a4cb
push dword [ebp + 0x24]
call fcn.004daf24
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004da4c1
mov esp, ebp
pop ebp
ret 0x34
call edi
xor bl, bl
jmp 0x42a456