Function at 0x41d0d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454119
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x46d070]
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 [0x46f790]
mov byte [ebp - 0x295], 0
mov ecx, dword [ebx]
cmp eax, dword [ecx + 4]
jle 0x41d16e
push 0x46f790
call fcn.00435b3c
add esp, 4
cmp dword [0x46f790], 0xffffffff
jne 0x41d16e
push 0x464568
mov ecx, 0x46f794
mov byte [ebp - 4], 1
call fcn.00402640
push 0x456070
call fcn.00435eb0
push 0x46f790
call fcn.00435afd
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 [0x46f7a4]
add eax, dword [esi + 0x10]
cmp eax, 7
je 0x41d1c3
push 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d8e0
test al, al
je 0x41d1c3
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 0x46f794
mov ecx, eax
call fcn.00405bf0
push 0x250
lea eax, [ebp - 0x294]
push 0
push eax
call fcn.0043a360
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 0x41d570
cmp esi, 0xffffffff
je 0x41d570
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 0x41d54f
mov ecx, dword [ebx]
mov eax, dword [0x46f7ac]
cmp eax, dword [ecx + 4]
jle 0x41d2b0
push 0x46f7ac
call fcn.00435b3c
add esp, 4
cmp dword [0x46f7ac], 0xffffffff
jne 0x41d2b0
push 0x464578
mov ecx, 0x46f7b0
mov byte [ebp - 4], 5
call fcn.00402640
push 0x456010
call fcn.00435eb0
push 0x46f7ac
mov byte [ebp - 4], 4
call fcn.00435afd
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 0x41d2d1
xor ecx, ecx
jmp 0x41d2ef
lea ecx, [ebp - 0x268]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d2e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040cd60
push ecx
push 0x46f7b0
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 0x41d331
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 0x41d548
cmp ebx, 2
ja 0x41d35a
push str.invalid_vector_T__subscript
call fcn.00433cd3
mov esi, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2b0], eax
test esi, esi
je 0x41d36e
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 [0x46f7c8]
mov ecx, dword [edx]
cmp eax, dword [ecx + 4]
jle 0x41d3d8
push 0x46f7c8
call fcn.00435b3c
add esp, 4
cmp dword [0x46f7c8], 0xffffffff
jne 0x41d3d8
push 0x464580
mov ecx, 0x46f7cc
mov byte [ebp - 4], 9
call fcn.00402640
push 0x455fb0
call fcn.00435eb0
push 0x46f7c8
mov byte [ebp - 4], 8
call fcn.00435afd
add esp, 8
mov ecx, dword [ebp - 0x2b0]
call fcn.0041d6f0
test al, al
jne 0x41d3f0
mov byte [ebp - 4], 0xa
jmp 0x41d519
test ebx, ebx
jne 0x41d3fe
push str.invalid_vector_T__subscript
call fcn.00433cd3
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.0041d860
mov edi, dword [ebp - 0x2d4]
cmp ebx, 1
ja 0x41d43b
push str.invalid_vector_T__subscript
call fcn.00433cd3
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 0x41d492
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x2a0]
cmp ecx, edx
ja 0x41d492
mov ebx, edx
sub ebx, ecx
sar ebx, 3
cmp eax, dword [edi + 0x30]
jne 0x41d483
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 0x41d4b3
jmp 0x41d4ad
cmp eax, dword [edi + 0x30]
jne 0x41d4a0
push ecx
lea ecx, [edi + 0x28]
call fcn.004057f0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x41d4b3
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 0x41d4e6
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x41d4e6
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x41d4e6
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 0x41d515
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x41d515
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x41d515
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0xf
test esi, esi
je 0x41d53e
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x41d53e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x41d53e
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 0x41d250
lea ecx, [ebp - 0x2ac]
call fcn.004022d0
mov eax, dword [ebp - 0x18]
mov bl, 1
cmp eax, 8
jb 0x41d587
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 0x41d5b9
cmp esi, 0xffffffff
je 0x41d5b9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41d5b9
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.0043598e
mov esp, ebp
pop ebp
ret 4