Function at 0x10128730
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7abd
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], ecx
mov eax, dword [ebp - 0x27c]
mov byte [eax + 0x414], 0
mov ecx, dword [ebp - 0x27c]
mov dword [ecx + 0x41c], 0
push 1
lea edx, [ebp - 0x20]
push edx
call fcn.100de0f0
add esp, 8
mov dword [ebp - 4], 0
push str.tbhelper.dll
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.1008d070
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp - 0x274]
push edx
lea ecx, [ebp - 0x18]
call fcn.10007fa0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x101287eb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1000ba80
jmp 0x1012896f
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x278]
push edx
call fcn.1008d070
add esp, 0xc
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
call fcn.10007f90
push eax
call fcn.100a6d10
mov ecx, dword [ebp - 0x27c]
mov dword [ecx + 0x418], eax
lea ecx, [ebp - 0x278]
call fcn.1000ba80
mov edx, dword [ebp - 0x27c]
cmp dword [edx + 0x418], 0
jne 0x10128847
jmp 0x101288e3
push str.IsUnicode
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1012887d
mov edx, dword [ebp - 0x27c]
mov eax, dword [edx + 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x101288e3
call dword [ebp - 0x10]
movzx ecx, al
test ecx, ecx
jne 0x1012889c
mov edx, dword [ebp - 0x27c]
mov eax, dword [edx + 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x101288e3
push str.CreateHelperObject
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx + 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x101288d4
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x101288e3
mov edx, dword [ebp - 0x27c]
mov byte [edx + 0x414], 1
jmp 0x101288fc
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101287eb
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x27c]
movzx ecx, byte [eax + 0x414]
test ecx, ecx
je 0x10128954
cmp dword [ebp - 0x27c], 0
je 0x10128934
mov edx, dword [ebp - 0x27c]
add edx, 0xc4
mov dword [ebp - 0x284], edx
jmp 0x1012893e
mov dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x284]
push eax
call dword [ebp - 0x14]
mov ecx, dword [ebp - 0x27c]
mov dword [ecx + 0x41c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1000ba80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1000ba80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret