Function at 0x10123420
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 0x101879c6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2b0
mov eax, dword [0x101ae0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], 0
movzx eax, byte [0x101cec78]
test eax, eax
je 0x101235d1
lea ecx, [ebp - 0x8c]
push ecx
call fcn.1003f890
add esp, 4
mov dword [ebp - 4], 0
xor edx, edx
mov byte [ebp - 0x25e], dl
xor eax, eax
mov byte [ebp - 0x25f], al
xor ecx, ecx
mov byte [ebp - 0x251], cl
movzx edx, byte [ebp - 0x25e]
push edx
movzx eax, byte [ebp - 0x25f]
push eax
movzx ecx, byte [ebp - 0x251]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.1003f9f0
add esp, 0x10
mov ecx, eax
call fcn.1003fa90
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x8c]
call fcn.1003f580
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x28c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x284], edx
mov eax, dword [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x284]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.10045900
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call fcn.100319d0
nop
push 0
lea ecx, [ebp - 0x44]
call fcn.10031610
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
xor eax, eax
mov byte [ebp - 0x252], al
xor ecx, ecx
mov byte [ebp - 0x253], cl
xor edx, edx
mov byte [ebp - 0x254], dl
movzx eax, byte [ebp - 0x252]
push eax
movzx ecx, byte [ebp - 0x253]
push ecx
movzx edx, byte [ebp - 0x254]
push edx
lea eax, [ebp - 0xf0]
push eax
call fcn.1003fa00
add esp, 0x10
mov ecx, eax
call fcn.1003fa90
push eax
lea ecx, [ebp - 0x44]
call fcn.10040810
nop
push 0
lea ecx, [ebp - 0x44]
call fcn.10031610
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [0x101cec78], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100319d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10022530
nop
xor ecx, ecx
mov byte [ebp - 0x25d], cl
xor edx, edx
mov byte [ebp - 0x255], dl
xor eax, eax
mov byte [ebp - 0x256], al
movzx ecx, byte [ebp - 0x25d]
push ecx
movzx edx, byte [ebp - 0x255]
push edx
movzx eax, byte [ebp - 0x256]
push eax
lea ecx, [ebp - 0xe0]
push ecx
call fcn.1003fa10
add esp, 0x10
mov ecx, eax
call fcn.1003fa90
push eax
lea ecx, [ebp - 0x5c]
call fcn.10003f00
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x2a8]
call fcn.10003c30
mov byte [ebp - 4], 5
xor edx, edx
mov byte [ebp - 0x257], dl
xor eax, eax
mov byte [ebp - 0x258], al
xor ecx, ecx
mov byte [ebp - 0x259], cl
lea edx, [ebp - 0x5c]
push edx
movzx eax, byte [ebp - 0x257]
push eax
movzx ecx, byte [ebp - 0x258]
push ecx
movzx edx, byte [ebp - 0x259]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.1003fa20
add esp, 0x10
mov ecx, eax
call fcn.1003fa90
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.100398f0
add esp, 0xc
mov dword [ebp - 0x280], eax
lea edx, [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0x280]
call fcn.10011bd0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0xbc]
call fcn.10003e70
nop
cmp dword [ebp - 0x264], 0xffffffff
je 0x1012386c
mov eax, dword [ebp - 0x250]
and eax, 0x10
je 0x101236de
jmp 0x10123842
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10003f00
mov byte [ebp - 4], 6
xor edx, edx
mov byte [ebp - 0x25a], dl
xor eax, eax
mov byte [ebp - 0x25b], al
xor ecx, ecx
mov byte [ebp - 0x25c], cl
push 0
movzx edx, byte [ebp - 0x25a]
push edx
movzx eax, byte [ebp - 0x25b]
push eax
movzx ecx, byte [ebp - 0x25c]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.1003fa30
add esp, 0x10
mov ecx, eax
call fcn.1003fa90
push eax
lea ecx, [ebp - 0x2c]
call fcn.10031be0
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1003aed0
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x2b0]
push edx
mov ecx, dword [ebp - 0x27c]
call fcn.1003ff20
mov dword [ebp - 0x278], eax
push 5
lea eax, [ebp - 0x2b4]
push eax
mov ecx, dword [ebp - 0x278]
call fcn.1003ff20
mov ecx, dword [eax]
mov dword [ebp - 0x290], ecx
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x270], edx
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1003aed0
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x2bc]
push edx
mov ecx, dword [ebp - 0x298]
call fcn.1003ff20
mov eax, dword [eax]
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100408a0
nop
lea ecx, [ebp - 0x2c]
call fcn.10011bd0
push eax
lea ecx, [ebp - 0x74]
call fcn.10003f00
mov byte [ebp - 4], 7
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x2a8]
call fcn.10031240
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
call fcn.10003e70
nop
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.10003e70
nop
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x101236ce
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
lea eax, [ebp - 0x2a8]
push eax
mov ecx, dword [ebx + 8]
call fcn.100312e0
mov ecx, dword [ebp - 0x268]
or ecx, 1
mov dword [ebp - 0x268], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2a8]
call fcn.10003dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10003e70
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.100bdc32
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret