Function at 0x41b340
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451609
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 0x41b3de
push 0x46d978
call fcn.00433250
add esp, 4
cmp dword [0x46d978], 0xffffffff
jne 0x41b3de
push 0x462548
mov ecx, 0x46d97c
mov byte [ebp - 4], 1
call fcn.00402640
push 0x4535d0
call fcn.004335c4
push 0x46d978
call fcn.00433211
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 0x41b433
push 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d8e0
test al, al
je 0x41b433
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.00437ac0
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 0x41b7e0
cmp esi, 0xffffffff
je 0x41b7e0
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 0x41b7bf
mov ecx, dword [ebx]
mov eax, dword [0x46d994]
cmp eax, dword [ecx + 4]
jle 0x41b520
push 0x46d994
call fcn.00433250
add esp, 4
cmp dword [0x46d994], 0xffffffff
jne 0x41b520
push 0x462558
mov ecx, 0x46d998
mov byte [ebp - 4], 5
call fcn.00402640
push 0x453570
call fcn.004335c4
push 0x46d994
mov byte [ebp - 4], 4
call fcn.00433211
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 0x41b541
xor ecx, ecx
jmp 0x41b55f
lea ecx, [ebp - 0x268]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b550
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 0x41b5a1
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 0x41b7b8
cmp ebx, 2
ja 0x41b5ca
push str.invalid_vector_T__subscript
call fcn.004313e7
mov esi, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2b0], eax
test esi, esi
je 0x41b5de
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 0x41b648
push 0x46d9b0
call fcn.00433250
add esp, 4
cmp dword [0x46d9b0], 0xffffffff
jne 0x41b648
push 0x462560
mov ecx, 0x46d9b4
mov byte [ebp - 4], 9
call fcn.00402640
push 0x453510
call fcn.004335c4
push 0x46d9b0
mov byte [ebp - 4], 8
call fcn.00433211
add esp, 8
mov ecx, dword [ebp - 0x2b0]
call fcn.0041b9b0
test al, al
jne 0x41b660
mov byte [ebp - 4], 0xa
jmp 0x41b789
test ebx, ebx
jne 0x41b66e
push str.invalid_vector_T__subscript
call fcn.004313e7
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.0041bb20
mov edi, dword [ebp - 0x2d4]
cmp ebx, 1
ja 0x41b6ab
push str.invalid_vector_T__subscript
call fcn.004313e7
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 0x41b702
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x2a0]
cmp ecx, edx
ja 0x41b702
mov ebx, edx
sub ebx, ecx
sar ebx, 3
cmp eax, dword [edi + 0x30]
jne 0x41b6f3
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 0x41b723
jmp 0x41b71d
cmp eax, dword [edi + 0x30]
jne 0x41b710
push ecx
lea ecx, [edi + 0x28]
call fcn.004057f0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x41b723
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 0x41b756
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x41b756
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x41b756
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 0x41b785
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x41b785
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x41b785
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0xf
test esi, esi
je 0x41b7ae
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x41b7ae
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x41b7ae
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 0x41b4c0
lea ecx, [ebp - 0x2ac]
call fcn.004022d0
mov eax, dword [ebp - 0x18]
mov bl, 1
cmp eax, 8
jb 0x41b7f7
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 0x41b829
cmp esi, 0xffffffff
je 0x41b829
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41b829
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.004330a2
mov esp, ebp
pop ebp
ret 4