Function at 0x40bc70
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x446318
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45a210]
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 0x40bcf2
lea ecx, [esp + 0x54]
call fcn.0040feb0
test al, al
jne 0x40bcf2
lea eax, [esp + 0x54]
call fcn.00407e41
mov ebx, 1
test byte [0x461108], bl
jne 0x40bd17
or dword [0x461108], ebx
push ebp
call fcn.00436561
add esp, 4
push eax
call fcn.00436532
add esp, 4
test byte [0x461108], 2
jne 0x40bd3a
or dword [0x461108], 2
call fcn.0043653f
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x461104], edx
mov eax, 4
test byte [0x461108], al
jne 0x40bd5c
or dword [0x461108], eax
call fcn.0043653f
cdq
mov ecx, 0x1388
idiv ecx
jmp 0x40bd62
mov edx, dword [0x461100]
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 [0x461100], edx
mov edx, dword [0x461104]
push edx
mov eax, edi
call fcn.0040123e
push eax
push str._sD._.03d._.03d
lea ecx, [esp + 0x48]
call fcn.0040c5a0
add esp, 0x10
cmp dword [esp + 0x4c], ebp
je 0x40be60
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edi, [esp + 0x24]
call fcn.0040d1a0
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 0x40bdef
mov edx, dword [esp + 0x20]
push edx
call fcn.00435b68
add esp, 4
cmp dword [esi + 0x18], edi
jb 0x40bdf9
mov eax, dword [esi + 4]
jmp 0x40bdfc
lea eax, [esi + 4]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40be9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40bee1
mov ecx, dword [0x461100]
mov eax, dword [0x461104]
add ecx, 1
add eax, 1
push ecx
mov dword [0x461104], eax
push eax
mov eax, dword [esp + 0x20]
mov dword [0x461100], ecx
call fcn.0040123e
push eax
push str._sD._.03d._.03d
lea ecx, [esp + 0x48]
call fcn.0040c5a0
add esp, 0x10
cmp dword [esp + 0x4c], ebp
jne 0x40bdaa
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x40be78
mov eax, dword [esp + 0x3c]
push eax
call fcn.00435b68
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40bf18
mov ecx, dword [esp + 0x58]
push ecx
jmp 0x40bf10
push 0x10
mov ecx, esi
call fcn.0040d040
add esp, 4
cmp dword [esp + 0x50], edi
jb 0x40beb9
mov edx, dword [esp + 0x3c]
push edx
call fcn.00435b68
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40bedd
mov eax, dword [esp + 0x58]
push eax
call fcn.00435b68
add esp, 4
mov al, 1
jmp 0x40bf1a
cmp dword [esp + 0x50], edi
jb 0x40bef4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00435b68
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40bf18
mov edx, dword [esp + 0x58]
push edx
call fcn.00435b68
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.0043579e
add esp, 0x6c
ret