Function at 0x41b320
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4515f9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x46b070]
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 dword [ebp - 0x10], esp
mov dword [ebp - 0x2b4], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x2c]
mov eax, dword [0x46d978]
mov byte [ebp - 0x295], 0
mov ecx, dword [ebx]
cmp eax, dword [ecx + 4]
jle 0x41b3be
push 0x46d978
call fcn.00433240
add esp, 4
cmp dword [0x46d978], 0xffffffff
jne 0x41b3be
push 0x462548
mov ecx, 0x46d97c
mov byte [ebp - 4], 1
call fcn.00402640
push 0x4535c0
call fcn.004335b4
push 0x46d978
call fcn.00433201
add esp, 8
mov dword [ebp - 0x2bc], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 3
mov eax, dword [0x46d98c]
add eax, dword [esi + 0x10]
cmp eax, 7
je 0x41b413
push 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d8e0
test al, al
je 0x41b413
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax], cx
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.00405bf0
push 0xffffffffffffffff
push 0
push 0x46d97c
mov ecx, eax
call fcn.00405bf0
push 0x250
lea eax, [ebp - 0x294]
push 0
push eax
call fcn.00437ab0
add esp, 0xc
lea ecx, [ebp - 0x294]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2bc], esi
test esi, esi
je 0x41b7c0
cmp esi, 0xffffffff
je 0x41b7c0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
mov byte [ebp - 4], 4
nop word [eax + eax]
test byte [ebp - 0x294], 0x10
jne 0x41b79f
mov ecx, dword [ebx]
mov eax, dword [0x46d994]
cmp eax, dword [ecx + 4]
jle 0x41b500
push 0x46d994
call fcn.00433240
add esp, 4
cmp dword [0x46d994], 0xffffffff
jne 0x41b500
push 0x462558
mov ecx, 0x46d998
mov byte [ebp - 4], 5
call fcn.00402640
push 0x453560
call fcn.004335b4
push 0x46d994
mov byte [ebp - 4], 4
call fcn.00433201
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp word [ebp - 0x268], ax
jne 0x41b521
xor ecx, ecx
jmp 0x41b53f
lea ecx, [ebp - 0x268]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b530
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040cd60
push ecx
push 0x46d998
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00402240
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x41b581
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0040d960
mov ebx, dword [ebp - 0x2a8]
mov edi, dword [ebp - 0x2ac]
sub ebx, edi
sar ebx, 3
cmp ebx, 3
jne 0x41b798
cmp ebx, 2
ja 0x41b5aa
push str.invalid_vector_T__subscript
call fcn.004313d7
mov esi, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2b0], eax
test esi, esi
je 0x41b5be
lock inc dword [esi + 4]
mov dword [ebp - 0x2c8], esi
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 8
mov edx, dword fs:[0x2c]
mov eax, dword [0x46d9b0]
mov ecx, dword [edx]
cmp eax, dword [ecx + 4]
jle 0x41b628
push 0x46d9b0
call fcn.00433240
add esp, 4
cmp dword [0x46d9b0], 0xffffffff
jne 0x41b628
push 0x462560
mov ecx, 0x46d9b4
mov byte [ebp - 4], 9
call fcn.00402640
push 0x453500
call fcn.004335b4
push 0x46d9b0
mov byte [ebp - 4], 8
call fcn.00433201
add esp, 8
mov ecx, dword [ebp - 0x2b0]
call fcn.0041b990
test al, al
jne 0x41b640
mov byte [ebp - 4], 0xa
jmp 0x41b769
test ebx, ebx
jne 0x41b64e
push str.invalid_vector_T__subscript
call fcn.004313d7
push edi
lea ecx, [ebp - 0x2c4]
call fcn.0040b2c0
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 0xb
push dword [ebp - 0x2c4]
push eax
call fcn.0041bb00
mov edi, dword [ebp - 0x2d4]
cmp ebx, 1
ja 0x41b68b
push str.invalid_vector_T__subscript
call fcn.004313d7
mov eax, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2a0]
add eax, 8
push eax
call fcn.0040b2c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2a0]
mov eax, dword [edi + 0x2c]
cmp ecx, eax
jae 0x41b6e2
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x2a0]
cmp ecx, edx
ja 0x41b6e2
mov ebx, edx
sub ebx, ecx
sar ebx, 3
cmp eax, dword [edi + 0x30]
jne 0x41b6d3
push ecx
lea ecx, [edi + 0x28]
call fcn.004057f0
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
lea eax, [eax + ebx*8]
test ecx, ecx
je 0x41b703
jmp 0x41b6fd
cmp eax, dword [edi + 0x30]
jne 0x41b6f0
push ecx
lea ecx, [edi + 0x28]
call fcn.004057f0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x41b703
lea eax, [ebp - 0x2a0]
push eax
call fcn.0040b2c0
add dword [edi + 0x2c], 8
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x29c]
test edi, edi
je 0x41b736
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x41b736
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x41b736
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x2c0]
test edi, edi
je 0x41b765
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x41b765
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x41b765
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0xf
test esi, esi
je 0x41b78e
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x41b78e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x41b78e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x2bc]
mov ebx, dword fs:[0x2c]
lea eax, [ebp - 0x294]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41b4a0
lea ecx, [ebp - 0x2ac]
call fcn.004022d0
mov eax, dword [ebp - 0x18]
mov bl, 1
cmp eax, 8
jb 0x41b7d7
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040d960
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
test esi, esi
je 0x41b809
cmp esi, 0xffffffff
je 0x41b809
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41b809
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.00433092
mov esp, ebp
pop ebp
ret 4