Function at 0x40bb10
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x444c48
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x458220]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458220]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov edi, ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
xor ebp, ebp
push ecx
xor ebx, ebx
mov dword [esp + 0x20], edi
mov esi, edx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], bp
call fcn.00401318
mov dword [esp + 0x7c], ebp
cmp dword [esp + 0x68], ebp
jne 0x40bb92
lea ecx, [esp + 0x54]
call fcn.0040fc80
test al, al
jne 0x40bb92
lea eax, [esp + 0x54]
call fcn.00407d94
mov ebx, 1
test byte [0x45f128], bl
jne 0x40bbb7
or dword [0x45f128], ebx
push ebp
call fcn.00435071
add esp, 4
push eax
call fcn.00435042
add esp, 4
test byte [0x45f128], 2
jne 0x40bbda
or dword [0x45f128], 2
call fcn.0043504f
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x45f124], edx
mov eax, 4
test byte [0x45f128], al
jne 0x40bbfc
or dword [0x45f128], eax
call fcn.0043504f
cdq
mov ecx, 0x1388
idiv ecx
jmp 0x40bc02
mov edx, dword [0x45f120]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
add edx, ebx
mov byte [esp + 0x7c], bl
push edx
mov dword [0x45f120], edx
mov edx, dword [0x45f124]
push edx
mov eax, edi
call fcn.0040123e
push eax
push str._sD._.03d._.03d
lea ecx, [esp + 0x48]
call fcn.0040c440
add esp, 0x10
cmp dword [esp + 0x4c], ebp
je 0x40bd00
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edi, [esp + 0x24]
call fcn.0040d040
add esp, 8
push 0xffffffffffffffff
push esi
xor ebx, ebx
mov byte [esp + 0x84], 2
call fcn.00401318
mov edi, 8
mov byte [esp + 0x7c], 1
cmp dword [esp + 0x34], edi
jb 0x40bc8f
mov edx, dword [esp + 0x20]
push edx
call fcn.0043438b
add esp, 4
cmp dword [esi + 0x18], edi
jb 0x40bc99
mov eax, dword [esi + 4]
jmp 0x40bc9c
lea eax, [esi + 4]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40bd3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40bd81
mov ecx, dword [0x45f120]
mov eax, dword [0x45f124]
add ecx, 1
add eax, 1
push ecx
mov dword [0x45f124], eax
push eax
mov eax, dword [esp + 0x20]
mov dword [0x45f120], ecx
call fcn.0040123e
push eax
push str._sD._.03d._.03d
lea ecx, [esp + 0x48]
call fcn.0040c440
add esp, 0x10
cmp dword [esp + 0x4c], ebp
jne 0x40bc4a
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x40bd18
mov eax, dword [esp + 0x3c]
push eax
call fcn.0043438b
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40bdb8
mov ecx, dword [esp + 0x58]
push ecx
jmp 0x40bdb0
push 0x10
mov ecx, esi
call fcn.0040cee0
add esp, 4
cmp dword [esp + 0x50], edi
jb 0x40bd59
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043438b
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40bd7d
mov eax, dword [esp + 0x58]
push eax
call fcn.0043438b
add esp, 4
mov al, 1
jmp 0x40bdba
cmp dword [esp + 0x50], edi
jb 0x40bd94
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0043438b
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40bdb8
mov edx, dword [esp + 0x58]
push edx
call fcn.0043438b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00434390
add esp, 0x6c
ret