Function at 0x40bb80
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x445668
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x458210]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458210]
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.00401322
mov dword [esp + 0x7c], ebp
cmp dword [esp + 0x68], ebp
jne 0x40bc02
lea ecx, [esp + 0x54]
call fcn.0040fcb0
test al, al
jne 0x40bc02
lea eax, [esp + 0x54]
call fcn.00407d2b
mov ebx, 1
test byte [0x45f108], bl
jne 0x40bc27
or dword [0x45f108], ebx
push ebp
call fcn.00435981
add esp, 4
push eax
call fcn.00435952
add esp, 4
test byte [0x45f108], 2
jne 0x40bc4a
or dword [0x45f108], 2
call fcn.0043595f
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x45f104], edx
mov eax, 4
test byte [0x45f108], al
jne 0x40bc6c
or dword [0x45f108], eax
call fcn.0043595f
cdq
mov ecx, 0x1388
idiv ecx
jmp 0x40bc72
mov edx, dword [0x45f100]
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 [0x45f100], edx
mov edx, dword [0x45f104]
push edx
mov eax, edi
call fcn.004012fd
push eax
push str._sD._.03d._.03d
lea ecx, [esp + 0x48]
call fcn.0040c4b0
add esp, 0x10
cmp dword [esp + 0x4c], ebp
je 0x40bd70
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edi, [esp + 0x24]
call fcn.0040d0b0
add esp, 8
push 0xffffffffffffffff
push esi
xor ebx, ebx
mov byte [esp + 0x84], 2
call fcn.00401322
mov edi, 8
mov byte [esp + 0x7c], 1
cmp dword [esp + 0x34], edi
jb 0x40bcff
mov edx, dword [esp + 0x20]
push edx
call fcn.00434f88
add esp, 4
cmp dword [esi + 0x18], edi
jb 0x40bd09
mov eax, dword [esi + 4]
jmp 0x40bd0c
lea eax, [esi + 4]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40bdaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40bdf1
mov ecx, dword [0x45f100]
mov eax, dword [0x45f104]
add ecx, 1
add eax, 1
push ecx
mov dword [0x45f104], eax
push eax
mov eax, dword [esp + 0x20]
mov dword [0x45f100], ecx
call fcn.004012fd
push eax
push str._sD._.03d._.03d
lea ecx, [esp + 0x48]
call fcn.0040c4b0
add esp, 0x10
cmp dword [esp + 0x4c], ebp
jne 0x40bcba
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x40bd88
mov eax, dword [esp + 0x3c]
push eax
call fcn.00434f88
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40be28
mov ecx, dword [esp + 0x58]
push ecx
jmp 0x40be20
push 0x10
mov ecx, esi
call fcn.0040cf50
add esp, 4
cmp dword [esp + 0x50], edi
jb 0x40bdc9
mov edx, dword [esp + 0x3c]
push edx
call fcn.00434f88
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40bded
mov eax, dword [esp + 0x58]
push eax
call fcn.00434f88
add esp, 4
mov al, 1
jmp 0x40be2a
cmp dword [esp + 0x50], edi
jb 0x40be04
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00434f88
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40be28
mov edx, dword [esp + 0x58]
push edx
call fcn.00434f88
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.00434bcb
add esp, 0x6c
ret