Function at 0x411b60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d06a
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x5fc150]
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 edi, ecx
mov dword [ebp - 0x330], edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], ax
mov dword [ebp - 4], eax
mov ecx, dword [edi + 4]
push eax
push eax
push 0x7d8
call fcn.0040d9f0
mov ecx, dword [edi + 4]
push eax
add eax, 0xfffffefc
push eax
push 0x105
lea eax, [ebp - 0x2dc]
push eax
call fcn.004d8910
cmp word [ebp - 0x2dc], bx
jne 0x411bfd
xor ecx, ecx
jmp 0x411c15
lea ecx, [ebp - 0x2dc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411c06
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00406c80
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0040fe10
add esp, 0xc
test al, al
je 0x412093
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0040fa10
mov byte [ebp - 4], 4
lea eax, [ebp - 0xd0]
push 0x588410
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00401e90
add esp, 0x14
mov byte [ebp - 4], 5
cmp dword [ebp - 0xa4], 8
mov eax, dword [ebp - 0xb8]
jae 0x411cf9
lea eax, [ebp - 0xb8]
lea ecx, [ebp - 0x320]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x328], esi
cmp esi, 0xffffffff
je 0x412048
xor eax, eax
lea ebx, [ebx]
inc eax
mov dword [ebp - 0x32c], eax
cmp eax, 0x7d0
ja 0x411fe1
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [ebp - 0x2f4], ax
jne 0x411d61
xor ecx, ecx
jmp 0x411d7f
lea ecx, [ebp - 0x2f4]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411d70
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x58]
call fcn.00406c80
mov byte [ebp - 4], 6
or ebx, 1
mov dword [ebp - 0x324], ebx
cmp dword [ebp - 0x44], 8
mov ecx, dword [ebp - 0x58]
jae 0x411da8
lea ecx, [ebp - 0x58]
mov edi, dword [ebp - 0x48]
cmp edi, 1
jae 0x411df6
mov esi, edi
test edi, edi
jne 0x411dfb
xor eax, eax
test eax, eax
jne 0x411dc7
cmp edi, 1
jb 0x411dc7
jbe 0x411e86
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [ebp - 0x2f4], ax
jne 0x411e27
xor ecx, ecx
jmp 0x411e3f
mov esi, 1
mov edx, 0x58823c
test esi, esi
je 0x411db6
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x411e19
add ecx, 2
add edx, 2
sub esi, 1
jne 0x411e04
jmp 0x411db6
movzx eax, word [ecx]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x411db8
lea ecx, [ebp - 0x2f4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411e30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406c80
mov dword [ebp - 4], 7
or ebx, 2
mov dword [ebp - 0x324], ebx
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x411e6b
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x30]
cmp edi, 2
jae 0x411e8a
mov esi, edi
test edi, edi
jne 0x411e8f
xor eax, eax
test eax, eax
jne 0x411ebb
cmp edi, 2
jb 0x411ebb
ja 0x411ebb
mov bl, 1
jmp 0x411ebd
mov esi, 2
mov edx, 0x588418
test esi, esi
je 0x411e79
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x411ead
add ecx, 2
add edx, 2
sub esi, 1
jne 0x411e98
jmp 0x411e79
movzx eax, word [ecx]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x411e7b
xor bl, bl
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x324]
test cl, 2
je 0x411f07
and ecx, 0xfffffffd
mov dword [ebp - 0x324], ecx
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x411ef3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407270
mov ecx, dword [ebp - 0x324]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 5
and ecx, 0xfffffffe
mov dword [ebp - 0x324], ecx
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x411f2c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
test bl, bl
jne 0x411fb9
cmp dword [ebp - 0x18], eax
je 0x411f58
push 1
push 0x587078
lea ecx, [ebp - 0x28]
call fcn.00406760
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406650
cmp word [ebp - 0x2f4], 0
jne 0x411f79
xor ecx, ecx
jmp 0x411f91
lea ecx, [ebp - 0x2f4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411f82
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406760
test byte [ebp - 0x320], 0x10
je 0x411fb9
push 1
push 0x588408
lea ecx, [ebp - 0x28]
call fcn.00406760
mov esi, dword [ebp - 0x328]
lea eax, [ebp - 0x320]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [ebp - 0x324]
test eax, eax
mov eax, dword [ebp - 0x32c]
jne 0x411d20
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.004038c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
call fcn.004038c0
mov edi, dword [ebp - 0x330]
push 0
push 0xa
push 0x83a
mov ecx, dword [edi + 4]
call fcn.0040d9f0
mov ecx, dword [edi + 4]
push 0
push 1
push 0x843
call fcn.0040d9f0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41203a
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 4]
push eax
push dword [ebp - 0x78]
call fcn.004de800
jmp 0x412066
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.004038c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
call fcn.004038c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41207f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x4120ac
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x4120de
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x41211a
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
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.0052c233
mov esp, ebp
pop ebp
ret