Function at 0x406da0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x435eb1
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x3b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x442c34]
xor eax, esp
push eax
lea eax, [esp + 0x3cc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3dc]
mov esi, ecx
lea edx, [esp + 0x2bc]
sub edx, esi
mov dword [esp + 0x18], esi
mov eax, esi
xor ebx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x406df5
lea eax, [esp + 0x2bc]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x406e07
mov ecx, dword [str..]
mov dl, byte [0x43affc]
mov dword [eax], ecx
mov byte [eax + 4], dl
mov eax, esi
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406e35
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.00401470
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x2c0]
push ecx
mov dword [esp + 0x3dc], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jmp 0x407047
test byte [esp + 0x74], 0x10
je 0x406eee
cmp byte [esp + 0xa0], 0x2e
je 0x407035
lea edx, [esp + 0x1b4]
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x406e90
lea edi, [esp + 0x1b4]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x406ea2
mov ax, word [0x43afc8]
mov word [edi], ax
lea eax, [esp + 0xa0]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406ec0
lea edi, [esp + 0x1b4]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x406ed1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x407031
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x3e0], 1
call fcn.00401160
lea eax, [esp + 0xa0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406f21
sub eax, edx
push eax
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x44]
call fcn.00410100
lea esi, [esp + 0x24]
call fcn.00407090
lea eax, [esp + 0xa0]
mov byte [esp + 0x3d4], 2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406f57
sub eax, edx
push eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x30]
call fcn.00404ef0
mov edi, 0x10
cmp dword [esp + 0x54], edi
jb 0x406f89
mov edx, dword [esp + 0x40]
cmp edx, ebx
jne 0x406f8d
xor eax, eax
jmp 0x406f9b
lea edx, [esp + 0x40]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406f92
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00404ef0
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
jne 0x406fb1
xor eax, eax
jmp 0x406fb9
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 4
mov esi, dword [ebp + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 4
cmp edx, eax
jae 0x406fef
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
mov ecx, 1
call fcn.00411c90
add esp, 0x10
add esi, edi
mov dword [ebp + 0x10], esi
jmp 0x40700e
cmp ecx, esi
jbe 0x406ff8
call fcn.0041e763
mov eax, dword [ebp]
push esi
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
mov eax, ebp
call fcn.0040f7c0
lea esi, [esp + 0x24]
call fcn.00407120
mov byte [esp + 0x3d4], bl
cmp dword [esp + 0x54], edi
jb 0x407031
mov edx, dword [esp + 0x40]
push edx
call fcn.00412f71
add esp, 4
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x74]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406e6f
cmp dword [esp + 0x70], 0x10
jb 0x407061
mov edx, dword [esp + 0x5c]
push edx
call fcn.00412f71
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x3cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3b0]
xor ecx, esp
call fcn.0041dec5
add esp, 0x3c4
ret 4