Function at 0x40b020
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410eae
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x41900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x19c], edi
push 1
push 0x413130
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00403fc0
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x41314c
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.00404890
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x19c], ecx
mov byte [ebp - 4], 3
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0xd
jb 0x40b107
lea eax, [edx + 0xd]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x40b0e8
mov eax, dword [ecx]
push 0xd
lea esi, [eax + edx]
push str.scatter.xml
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x19c]
add esp, 0xc
mov byte [esi + 0xd], 0
jmp 0x40b122
push 0xd
push str.scatter.xml
mov byte [ebp - 0x19c], 0
push dword [ebp - 0x19c]
push 0xd
call fcn.00405410
movups xmm0, xmmword [eax]
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x1b4], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x1b4]
push eax
movq qword [ebp - 0x1a4], xmm0
call fcn.00402b10
mov edx, dword [ebp - 0x1a0]
cmp edx, 0x10
jb 0x40b195
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b18b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b18b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040bb90
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1b8]
cmp edx, 0x10
jb 0x40b1d5
mov ecx, dword [ebp - 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b1cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b1cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040bb90
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x198]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40b2a0
movups xmm0, xmmword [ebp - 0x58]
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [edi + 0x10], xmm0
cmp edx, 0x10
jb 0x40b24e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b244
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b244
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040bb90
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x40b3a9
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b39f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b39f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop dword [eax + eax]
test byte [ebp - 0x198], 0x10
je 0x40b2c7
lea eax, [ebp - 0x198]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40b2a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40b1f9
push 0x41314c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.00404890
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x1b4]
call fcn.004047f0
add esp, 0x10
lea ecx, [ebp - 0x58]
push eax
call fcn.00402b10
mov edx, dword [ebp - 0x1a0]
cmp edx, 0x10
jb 0x40b33a
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b330
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b23e
push edx
push ecx
call fcn.0040bb90
add esp, 8
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
cmp edx, 0x10
jb 0x40b2bb
mov ecx, dword [ebp - 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b389
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b23e
push edx
push ecx
call fcn.0040bb90
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40b1f9
push edx
push ecx
call fcn.0040bb90
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b60b
mov esp, ebp
pop ebp
ret 4