Function at 0x10b9ed9
Capabilities:
Create thread
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x10ed860]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x47c], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov edi, ecx
call sub.msvcrt.dll_memset
and dword [ebx], 0
add esp, 0xc
cmp dword [edi], 0
jne 0x10b9f3b
mov eax, 0x80004005
jmp 0x10ba260
call fcn.010baf4f
test eax, eax
jne 0x10b9f72
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9f68
test byte [eax + 0x1c], 4
je 0x10b9f68
push 0x100b054
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
mov eax, 0x1000010c
jmp 0x10ba260
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0104dd4c
mov dword [ebp - 0x460], eax
test eax, eax
jge 0x10b9fc2
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b9fb8
test byte [eax + 0x1c], 1
je 0x10b9fb8
push dword [ebp - 0x460]
push 0x100b054
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov eax, 0x80070057
jmp 0x10ba260
lea eax, [edi + 0x2c]
push eax
mov dword [ebp - 0x470], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x464], eax
mov ecx, eax
lea eax, [ebp - 0x20c]
sub ecx, eax
sar ecx, 1
mov eax, 0x103
sub eax, ecx
cmp dword [ebp - 0x464], 0
mov dword [ebp - 0x474], eax
jne 0x10ba03a
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba02b
test byte [eax + 0x1c], 1
je 0x10ba02b
push 0x100b054
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
mov dword [ebp - 0x460], 0x80070057
jmp 0x10ba24e
lea eax, [ebp - 0x45c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x468], eax
cmp eax, 0xffffffff
jne 0x10ba087
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba078
test byte [eax + 0x1c], 1
je 0x10ba078
push esi
push 0x100b054
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e3b
mov dword [ebp - 0x460], 0x90080108
jmp 0x10ba24e
cmp dword [ebp - 0x45c], 0x10
je 0x10ba170
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x474]
push dword [ebp - 0x464]
call fcn.0104dd4c
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x460], eax
jge 0x10ba0ef
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba170
test byte [eax + 0x1c], 1
je 0x10ba170
push dword [ebp - 0x460]
push 0x100b054
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
jmp 0x10ba170
push 0x14
call fcn.010a09e7
pop ecx
cmp eax, esi
je 0x10ba105
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov esi, eax
mov dword [ebp - 0x478], esi
test esi, esi
je 0x10ba193
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.01050054
push dword [ebp - 0x46c]
lea ecx, [esi + 4]
call fcn.01050054
push dword [ebp - 0x47c]
lea ecx, [esi + 8]
call fcn.01050054
mov eax, dword [ebp + 0x18]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x478]
push eax
lea ecx, [edi + 0x10]
call fcn.010b8e20
test eax, eax
je 0x10ba167
inc dword [ebx]
and dword [ebp - 0x460], 0
jmp 0x10ba170
push 1
mov ecx, esi
call fcn.010b7003
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x10ba1c3
test byte [ebp + 0x14], 2
jne 0x10ba087
jmp 0x10ba1c3
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba1b9
test byte [eax + 0x1c], 1
je 0x10ba1b9
push 0x14
push 0x100b054
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov dword [ebp - 0x460], 0x8007000e
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
cmp dword [ebx], esi
jbe 0x10ba24e
cmp dword [edi + 4], esi
jne 0x10ba24e
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi + 0x4c]
cmp eax, esi
je 0x10ba1f1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0x50]
push eax
push esi
push edi
push 0x10b9e44
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x4c], eax
cmp eax, esi
jne 0x10ba247
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10ba23b
test byte [eax + 0x1c], 1
je 0x10ba23b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x10ed030]
push 0x100b054
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov dword [ebp - 0x460], 0x80004005
jmp 0x10ba24e
mov dword [edi + 4], 1
push dword [ebp - 0x470]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x460]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010a0c4b
leave
ret 0x18