Function at 0x41b66f
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56f2ff
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5c8910]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
mov eax, dword [0x5c8910]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push 0x24c
mov dword [esp + 0x38], eax
lea eax, [esp + 0x4c]
push ebx
push eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x44], 0x80004005
mov dword [esp + 0x50], ebx
call fcn.00538910
add esp, 0xc
lea ecx, [esp + 0x20]
push esi
call fcn.0041cba3
mov dword [esp + 0x2a8], ebx
call fcn.0040adc8
push eax
lea ecx, [esp + 0x40]
call fcn.0040a3ab
push 1
lea eax, [esp + 0x18]
mov byte [esp + 0x2ac], 1
push eax
lea ecx, [esp + 0x28]
call fcn.0041be74
mov esi, 0x594350
mov byte [esp + 0x2a8], 2
push esi
mov ecx, eax
call fcn.0041c09e
mov byte [esp + 0x2a8], 1
test eax, eax
mov ecx, dword [esp + 0x14]
setne bl
lea ecx, [ecx - 0x10]
call fcn.0040b4b8
test bl, bl
je 0x41b75d
push esi
call fcn.0041ce04
pop ecx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.0041cc27
push 0x59fbbc
lea edx, [esp + 0x24]
lea ecx, [esp + 0x18]
call fcn.0041bec7
pop ecx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x2ac], 3
call fcn.0041c0be
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040b4b8
xor ebx, ebx
mov esi, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x2a8], 4
test edi, edi
je 0x41b8b9
call fcn.0040adc8
push eax
lea ecx, [esp + 0x20]
call fcn.0040a3ab
push edi
mov byte [esp + 0x2ac], 5
call fcn.0041ce04
pop ecx
push eax
push edi
lea ecx, [esp + 0x24]
call fcn.0041cd8b
call fcn.0040adc8
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a3ab
lea eax, [esp + 0x14]
mov byte [esp + 0x2a8], 6
push eax
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], ebx
push eax
lea ecx, [esp + 0x28]
call fcn.0041c8b2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2ac], 7
call fcn.0041c0be
mov byte [esp + 0x2a8], 6
mov ecx, dword [esp + 0x24]
lea ecx, [ecx - 0x10]
call fcn.0040b4b8
mov edi, 0x594314
lea ecx, [esp + 0x18]
push edi
call fcn.0041c09e
test eax, eax
je 0x41b899
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0041bfcb
lea eax, [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
call fcn.0041c8b2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2ac], 8
call fcn.0041c0be
mov byte [esp + 0x2a8], 6
mov ecx, dword [esp + 0x24]
lea ecx, [ecx - 0x10]
call fcn.0040b4b8
push edi
lea ecx, [esp + 0x1c]
call fcn.0041c09e
test eax, eax
jne 0x41b83f
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040b4b8
mov byte [esp + 0x2a8], 4
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040b4b8
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
je 0x41ba62
mov edx, 0x59fbc4
lea ecx, [esp + 0x70]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x41b907
test ax, ax
je 0x41b903
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x41b907
add ecx, 4
add edx, 4
test ax, ax
jne 0x41b8e1
xor eax, eax
jmp 0x41b90c
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ba3e
mov ecx, 0x59fbc8
lea eax, [esp + 0x70]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b943
test dx, dx
je 0x41b93f
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b943
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b91d
xor eax, eax
jmp 0x41b948
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ba3e
cmp word [esp + 0x70], 0x2e
je 0x41ba3e
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], eax
je 0x41b9b0
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.0041c6c7
pop ecx
lea edi, [eax + 0x10]
mov dword [esp + 0x24], edi
lea eax, [esp + 0x70]
mov byte [esp + 0x2a8], 9
push eax
lea ecx, [esp + 0x28]
call fcn.0041cc03
mov byte [esp + 0x2a8], 4
lea ecx, [edi - 0x10]
test eax, eax
je 0x41b9fb
call fcn.0040b4b8
add esi, 4
cmp esi, dword [esp + 0x2c]
jne 0x41b966
mov edi, dword [esp + 0x14]
test byte [esp + 0x44], 2
jne 0x41ba3e
test byte [esp + 0x44], 0x10
lea eax, [esp + 0x70]
lea edx, [esp + 0x20]
push eax
je 0x41ba06
lea ecx, [esp + 0x20]
call fcn.0041bec7
pop ecx
mov edx, dword [esp + 0x34]
push dword [esp + 0x40]
mov byte [esp + 0x2ac], 0xa
push dword [eax]
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov byte [esp + 0x2a8], 4
mov ecx, dword [esp + 0x1c]
jmp 0x41ba30
call fcn.0040b4b8
mov edi, dword [esp + 0x14]
jmp 0x41ba3e
lea ecx, [esp + 0x1c]
call fcn.0041bec7
pop ecx
mov edx, dword [esp + 0x34]
mov byte [esp + 0x2a8], 0xb
push dword [eax]
mov ecx, dword [edx]
push edx
call dword [ecx + 4]
mov byte [esp + 0x2a8], 4
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
mov esi, eax
call fcn.0040b4b8
test esi, esi
jne 0x41ba62
lea eax, [esp + 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x41b8d8
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
and dword [esp + 0x38], 0
lea ecx, [esp + 0x28]
call fcn.0041c1bd
lea ecx, [ebx - 0x10]
call fcn.0040b4b8
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040b4b8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret 0xc