Function at 0x4100a0
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x488903
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4b2288]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2288]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x94], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 1
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x490010
mov byte [esp + 0xb8], 2
mov dword [esp + 0x50], ebx
mov byte [ecx + 4], bl
call fcn.00404640
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 2
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x490b6c
mov byte [esp + 0xd4], 3
mov byte [ecx + 4], bl
call fcn.00404640
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xf8]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0xf4], 4
mov byte [ecx + 4], bl
call fcn.00404330
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0xec], 2
call fcn.0040b140
add esp, 0x58
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0xa0], 5
call fcn.00404330
mov edi, 0x10
cmp dword [esp + 0x4c], edi
mov byte [esp + 0x94], 2
jb 0x4101cb
mov edx, dword [esp + 0x38]
push edx
call fcn.00418702
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 1
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x490010
mov byte [ecx + 4], bl
call fcn.00404640
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 1
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x490b68
mov byte [esp + 0xd4], 6
mov byte [ecx + 4], bl
call fcn.00404640
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xf8]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0xf4], 7
mov byte [ecx + 4], bl
call fcn.00404330
lea ecx, [esp + 0x88]
push ecx
mov byte [esp + 0xec], 2
call fcn.0040b140
add esp, 0x58
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0xa0], 8
call fcn.00404330
cmp dword [esp + 0x4c], edi
mov byte [esp + 0x94], 2
jb 0x410284
mov edx, dword [esp + 0x38]
push edx
call fcn.00418702
add esp, 4
lea eax, [esp + 0x18]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 1
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x490010
mov byte [ecx + 4], bl
call fcn.00404640
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xe0]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0xdc], 9
mov byte [ecx + 4], bl
call fcn.00404330
mov byte [esp + 0xd0], 2
call fcn.0040f980
mov esi, dword [esp + 0x58]
add esp, 0x3c
cmp esi, ebx
je 0x410317
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jbe 0x410317
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x78]
call fcn.00404330
mov esi, dword [esp + 0x1c]
mov ebp, 1
mov dword [esp + 0x14], 0x1c
cmp esi, ebx
je 0x41045e
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x41045e
push 0x490010
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00404a90
add esp, 0xc
mov edi, eax
mov esi, dword [esp + 0x1c]
cmp esi, ebx
mov byte [esp + 0x94], 0xa
je 0x410393
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x41039c
call fcn.00459b57
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [esi + edx]
push eax
lea eax, [esp + 0x38]
push edi
push eax
call fcn.004049e0
add esp, 0xc
or edi, 0xffffffff
push edi
push ebx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], 0xb
call fcn.00404330
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jb 0x4103e1
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00418702
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x94], 2
jb 0x41040c
mov edx, dword [esp + 0x54]
push edx
call fcn.00418702
add esp, 4
cmp dword [esp + 0x84], esi
mov eax, dword [esp + 0x70]
jae 0x41041d
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, edi
je 0x41042c
test al, 0x10
jne 0x41044d
cmp dword [esp + 0x84], esi
mov eax, dword [esp + 0x70]
jae 0x41043d
lea eax, [esp + 0x70]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x41044d
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x1c]
add ebp, 1
add dword [esp + 0x14], 0x1c
jmp 0x410324
cmp esi, ebx
movsx edi, word [esp + 0x2c]
je 0x410489
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
call fcn.0040b820
mov eax, dword [esp + 0x2c]
push eax
call fcn.00418702
add esp, 0x14
mov esi, 0x10
cmp dword [esp + 0x84], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jb 0x4104b0
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00418702
add esp, 4
cmp dword [esp + 0xb4], esi
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
jb 0x4104df
mov edx, dword [esp + 0xa0]
push edx
call fcn.00418702
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00459426
add esp, 0x84
ret