Function at 0x40bb30
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x445b68
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x459210]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x459210]
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 0x40bbb2
lea ecx, [esp + 0x54]
call fcn.0040fc50
test al, al
jne 0x40bbb2
lea eax, [esp + 0x54]
call fcn.00407d0e
mov ebx, 1
test byte [0x4600a8], bl
jne 0x40bbd7
or dword [0x4600a8], ebx
push ebp
call fcn.00435f81
add esp, 4
push eax
call fcn.00435f52
add esp, 4
test byte [0x4600a8], 2
jne 0x40bbfa
or dword [0x4600a8], 2
call fcn.00435f5f
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [0x4600a4], edx
mov eax, 4
test byte [0x4600a8], al
jne 0x40bc1c
or dword [0x4600a8], eax
call fcn.00435f5f
cdq
mov ecx, 0x1388
idiv ecx
jmp 0x40bc22
mov edx, dword [0x4600a0]
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 [0x4600a0], edx
mov edx, dword [0x4600a4]
push edx
mov eax, edi
call fcn.004012fd
push eax
push str._sD._.03d._.03d
lea ecx, [esp + 0x48]
call fcn.0040c460
add esp, 0x10
cmp dword [esp + 0x4c], ebp
je 0x40bd20
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edi, [esp + 0x24]
call fcn.0040d060
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 0x40bcaf
mov edx, dword [esp + 0x20]
push edx
call fcn.00435588
add esp, 4
cmp dword [esi + 0x18], edi
jb 0x40bcb9
mov eax, dword [esi + 4]
jmp 0x40bcbc
lea eax, [esi + 4]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40bd5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40bda1
mov ecx, dword [0x4600a0]
mov eax, dword [0x4600a4]
add ecx, 1
add eax, 1
push ecx
mov dword [0x4600a4], eax
push eax
mov eax, dword [esp + 0x20]
mov dword [0x4600a0], ecx
call fcn.004012fd
push eax
push str._sD._.03d._.03d
lea ecx, [esp + 0x48]
call fcn.0040c460
add esp, 0x10
cmp dword [esp + 0x4c], ebp
jne 0x40bc6a
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x40bd38
mov eax, dword [esp + 0x3c]
push eax
call fcn.00435588
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40bdd8
mov ecx, dword [esp + 0x58]
push ecx
jmp 0x40bdd0
push 0x10
mov ecx, esi
call fcn.0040cf00
add esp, 4
cmp dword [esp + 0x50], edi
jb 0x40bd79
mov edx, dword [esp + 0x3c]
push edx
call fcn.00435588
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40bd9d
mov eax, dword [esp + 0x58]
push eax
call fcn.00435588
add esp, 4
mov al, 1
jmp 0x40bdda
cmp dword [esp + 0x50], edi
jb 0x40bdb4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00435588
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
jb 0x40bdd8
mov edx, dword [esp + 0x58]
push edx
call fcn.00435588
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.004351c0
add esp, 0x6c
ret