Function at 0x10116650
Capabilities:
Create directory
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10177ab6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x1019e06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x278], 0
movzx eax, byte [0x101bebfc]
test eax, eax
je 0x101167f4
lea ecx, [ebp - 0x5c]
push ecx
call fcn.1003ced0
add esp, 4
mov dword [ebp - 4], 0
xor edx, edx
mov byte [ebp - 0x26e], dl
xor eax, eax
mov byte [ebp - 0x26f], al
xor ecx, ecx
mov byte [ebp - 0x261], cl
movzx edx, byte [ebp - 0x26e]
push edx
movzx eax, byte [ebp - 0x26f]
push eax
movzx ecx, byte [ebp - 0x261]
push ecx
lea edx, [ebp - 0x120]
push edx
call fcn.1003d030
add esp, 0x10
mov ecx, eax
call fcn.1003d190
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1003cbc0
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x29c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x294], edx
mov eax, dword [ebp - 0x298]
push eax
mov ecx, dword [ebp - 0x294]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.100431e0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xbc]
call fcn.1002d5e0
push 0
lea ecx, [ebp - 0x44]
call fcn.1002d2e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov byte [ebp - 0x262], al
xor ecx, ecx
mov byte [ebp - 0x263], cl
xor edx, edx
mov byte [ebp - 0x264], dl
movzx eax, byte [ebp - 0x262]
push eax
movzx ecx, byte [ebp - 0x263]
push ecx
movzx edx, byte [ebp - 0x264]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.1003d040
add esp, 0x10
mov ecx, eax
call fcn.1003acb0
push eax
lea ecx, [ebp - 0x44]
call fcn.1003e040
push 0
lea ecx, [ebp - 0x44]
call fcn.1002d2e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [0x101bebfc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.1002d5e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.1001efb0
xor ecx, ecx
mov byte [ebp - 0x26d], cl
xor edx, edx
mov byte [ebp - 0x265], dl
xor eax, eax
mov byte [ebp - 0x266], al
movzx ecx, byte [ebp - 0x26d]
push ecx
movzx edx, byte [ebp - 0x265]
push edx
movzx eax, byte [ebp - 0x266]
push eax
lea ecx, [ebp - 0xf0]
push ecx
call fcn.1003d050
add esp, 0x10
mov ecx, eax
call fcn.1003acb0
push eax
lea ecx, [ebp - 0x74]
call fcn.10003d50
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x2b8]
call fcn.10003a80
mov byte [ebp - 4], 5
xor edx, edx
mov byte [ebp - 0x267], dl
xor eax, eax
mov byte [ebp - 0x268], al
xor ecx, ecx
mov byte [ebp - 0x269], cl
lea edx, [ebp - 0x74]
push edx
movzx eax, byte [ebp - 0x267]
push eax
movzx ecx, byte [ebp - 0x268]
push ecx
movzx edx, byte [ebp - 0x269]
push edx
lea eax, [ebp - 0xe0]
push eax
call fcn.1003d060
add esp, 0x10
mov ecx, eax
call fcn.1003acb0
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.10036ff0
add esp, 0xc
mov dword [ebp - 0x290], eax
lea edx, [ebp - 0x260]
push edx
mov ecx, dword [ebp - 0x290]
call fcn.1000e570
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x274], eax
lea ecx, [ebp - 0xa4]
call fcn.10003cc0
cmp dword [ebp - 0x274], 0xffffffff
je 0x10116a93
mov eax, dword [ebp - 0x260]
and eax, 0x10
je 0x10116900
jmp 0x10116a6a
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10003d50
mov byte [ebp - 4], 6
xor edx, edx
mov byte [ebp - 0x26a], dl
xor eax, eax
mov byte [ebp - 0x26b], al
xor ecx, ecx
mov byte [ebp - 0x26c], cl
push 0
movzx edx, byte [ebp - 0x26a]
push edx
movzx eax, byte [ebp - 0x26b]
push eax
movzx ecx, byte [ebp - 0x26c]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.1003d050
add esp, 0x10
mov ecx, eax
call fcn.1003acb0
push eax
lea ecx, [ebp - 0x2c]
call fcn.1002d7d0
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100385d0
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x2c0]
push edx
mov ecx, dword [ebp - 0x28c]
call fcn.1003d710
mov dword [ebp - 0x288], eax
push 5
lea eax, [ebp - 0x2c4]
push eax
mov ecx, dword [ebp - 0x288]
call fcn.1003d710
mov ecx, dword [eax]
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x280], edx
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100385d0
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x2cc]
push edx
mov ecx, dword [ebp - 0x2a8]
call fcn.1003d710
mov eax, dword [eax]
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x280]
push edx
mov eax, dword [ebp - 0x284]
push eax
lea ecx, [ebp - 0x2d0]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1003e0d0
lea ecx, [ebp - 0x2c]
call fcn.1000e570
push eax
lea ecx, [ebp - 0x8c]
call fcn.10003d50
mov byte [ebp - 4], 7
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x2b8]
call fcn.1002cfe0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.10003cc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.10003cc0
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x101168f0
mov edx, dword [ebp - 0x274]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x2b8]
push eax
mov ecx, dword [ebx + 8]
call fcn.100122d0
mov ecx, dword [ebp - 0x278]
or ecx, 1
mov dword [ebp - 0x278], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b8]
call fcn.10003c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10003cc0
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b526a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret