Function at 0x432560
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ec68
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4643c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
lea ebx, [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x68], eax
call fcn.00431b80
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x4325a6
mov eax, ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43269b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x43269b
cmp eax, 0xb7
je 0x432728
cmp byte [ebp + 0x24], 0
je 0x4327ae
mov edx, eax
lea ecx, [ebp - 0x2c]
mov esi, SysReAllocStringLen
call fcn.00419240
mov edi, eax
lea eax, [ebp - 0x48]
push str.The_directory_
push eax
lea ebx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00407830
push eax
mov eax, str._could_not_be_created_because:
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00407910
mov ecx, eax
sub esp, 0x10
mov byte [ebp - 4], 3
mov eax, edi
mov ebx, esp
mov dword [ebp - 0x70], esp
call fcn.004190d0
sub esp, 0x1c
mov byte [ebp - 4], 4
mov eax, str.CreateDirectoryAPIWrapper
mov ecx, esp
mov dword [ebp - 0x6c], esp
call fcn.00413560
push 4
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00419f60
mov esi, 8
add esp, 0x3c
cmp dword [ebp - 0x50], esi
jb 0x432666
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0043644d
add esp, 4
xor edi, edi
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x34], esi
jb 0x43268a
mov eax, dword [ebp - 0x48]
push eax
call fcn.0043644d
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x18], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
jmp 0x432711
cmp byte [ebp + 0x28], 0
je 0x4327ae
lea eax, [ebp - 0x2c]
push str.Created_the_directory_
push eax
lea ebx, [ebp + 8]
mov edi, SysReAllocStringLen
call fcn.00407830
sub esp, 0x14
mov bl, 5
mov byte [ebp - 4], bl
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
mov eax, 0x458384
call fcn.00407910
sub esp, 0x18
mov byte [ebp - 4], 6
mov esi, esp
mov dword [ebp - 0x70], esp
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push 0x19
mov eax, str.CreateDirectoryAPIWrapper
mov word [esi], cx
call fcn.00413470
push 2
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00419f60
add esp, 0x3c
cmp dword [ebp - 0x18], 8
jb 0x4327ae
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043644d
add esp, 4
jmp 0x4327ae
cmp byte [ebp + 0x28], 0
je 0x4327a7
lea eax, [ebp - 0x2c]
push str.Directory_already_exists:_
push eax
lea ebx, [ebp + 8]
mov edi, SysReAllocStringLen
call fcn.00407830
sub esp, 0x14
mov ebx, 7
mov byte [ebp - 4], bl
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
mov eax, 0x458384
call fcn.00407910
sub esp, 0x18
mov byte [ebp - 4], 8
mov esi, esp
mov dword [ebp - 0x70], esp
xor ecx, ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
push 0x19
mov eax, str.CreateDirectoryAPIWrapper
mov word [esi], cx
call fcn.00413470
push 1
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00419f60
add esp, 0x3c
cmp dword [ebp - 0x18], 8
jb 0x4327a7
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043644d
add esp, 4
mov dword [ebp - 0x68], 0
cmp dword [ebp + 0x1c], 8
jb 0x4327c0
mov eax, dword [ebp + 8]
push eax
call fcn.0043644d
add esp, 4
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436268
mov esp, ebp
pop ebp
ret