Function at 0x41a1e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe914
mov eax, dword fs:[0]
push eax
sub esp, 0x504
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
cmp word [edx], ax
jne 0x41a23a
xor ecx, ecx
jmp 0x41a24f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a240
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.00407210
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
cmp word [edi], ax
jne 0x41a289
xor ecx, ecx
jmp 0x41a29f
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a290
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x260]
call fcn.00407210
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00430140
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 2
push eax
call fcn.004330a0
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0042fc60
add esp, 0x14
mov esi, eax
lea eax, [ebp - 0x260]
cmp eax, esi
je 0x41a33c
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x41a313
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00407310
xor eax, eax
mov dword [ebp - 0x24c], 7
push esi
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
call fcn.00406bc0
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x41a35e
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00407310
push 3
push 0x60bd68
lea ecx, [ebp - 0x2a8]
call fcn.0040f7f0
cmp dword [ebp - 0x294], 8
lea ecx, [ebp - 0x510]
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41a7fd
nop dword [eax]
lea eax, [ebp - 0x510]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41a7fd
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x4e4], ax
je 0x41a3f4
lea eax, [ebp - 0x4e4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a3e5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x4e4]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407210
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.00430140
add esp, 8
mov esi, eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 5
cmp eax, esi
je 0x41a4f6
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x41a481
mov ecx, dword [ebp - 0x248]
inc eax
cmp eax, 0x1000
jb 0x41a478
test cl, 0x1f
jne 0x41a78e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41a78e
sub ecx, eax
cmp ecx, 4
jb 0x41a78e
cmp ecx, 0x23
ja 0x41a78e
mov ecx, eax
push ecx
call fcn.005caa57
add esp, 4
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
cmp dword [esi + 0x14], 0x10
jae 0x41a4bd
mov eax, dword [esi + 0x10]
add eax, 1
je 0x41a4cb
push eax
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.005d5830
add esp, 0xc
jmp 0x41a4cb
mov eax, dword [esi]
mov dword [ebp - 0x248], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x234], eax
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x41a4f3
mov esi, dword [esi]
mov byte [esi], 0
mov eax, dword [ebp - 0x2ac]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x41a546
mov ecx, dword [ebp - 0x2c0]
inc eax
cmp eax, 0x1000
jb 0x41a53d
test cl, 0x1f
jne 0x41a78e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41a78e
sub ecx, eax
cmp ecx, 4
jb 0x41a78e
cmp ecx, 0x23
ja 0x41a78e
mov ecx, eax
push ecx
call fcn.005caa57
add esp, 4
lea eax, [ebp - 0x248]
push eax
call fcn.004330a0
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.0042fc60
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x41a5bb
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x41a592
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407310
xor eax, eax
mov dword [ebp - 0x21c], 7
push esi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00406bc0
mov eax, dword [ebp - 0x2ac]
cmp eax, 8
jb 0x41a5d9
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.00407310
cmp word [ebp - 0x4e4], 0x2e
jne 0x41a60e
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x41a3a0
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407310
jmp 0x41a3a0
mov ax, word [ebp - 0x4e2]
test ax, ax
je 0x41a5e3
cmp ax, 0x2e
jne 0x41a62e
cmp word [ebp - 0x4e0], 0
je 0x41a77a
test byte [ebp - 0x510], 0x10
jne 0x41a77a
xor eax, eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
push 0x208
push eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
push eax
call fcn.005d4960
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push 0x609c18
push eax
call fcn.0040f920
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.00423360
add esp, 0x20
lea ecx, [ebp - 0x290]
push eax
call fcn.00405e00
lea ecx, [ebp - 0x2c0]
call fcn.00405cd0
cmp dword [ebp - 0x27c], 8
lea eax, [ebp - 0x290]
mov ecx, 0x60bd70
cmovae eax, dword [ebp - 0x290]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a70e
test dx, dx
je 0x41a70a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a70e
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a6e8
xor eax, eax
jmp 0x41a713
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41a76f
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.004236f0
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 8
cmovae ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x264], 8
push ecx
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.004314e0
add esp, 0x10
test eax, eax
jne 0x41a793
lea ecx, [ebp - 0x278]
call fcn.00405cd0
lea ecx, [ebp - 0x290]
call fcn.00405cd0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00405cd0
jmp 0x41a3a0
call fcn.005d9031
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
mov cx, word [edi]
cmp cx, word [eax]
jne 0x41a7cd
test cx, cx
je 0x41a7c9
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x41a7cd
add edi, 4
add eax, 4
test cx, cx
jne 0x41a7a7
xor eax, eax
jmp 0x41a7d2
sbb eax, eax
or eax, 1
xor ebx, ebx
lea ecx, [ebp - 0x278]
test eax, eax
setne bl
inc ebx
call fcn.00405cd0
lea ecx, [ebp - 0x290]
call fcn.00405cd0
lea ecx, [ebp - 0x230]
call fcn.00405cd0
jmp 0x41a7ff
xor ebx, ebx
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x41a81d
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00408f70
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
call fcn.00405cd0
lea ecx, [ebp - 0x2a8]
call fcn.00405cd0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005caa5c
mov esp, ebp
pop ebp
ret 8