Function at 0x4452c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d10b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x5be9c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0xc4]
call fcn.004430e0
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
je 0x44531c
push 0
mov eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x44531c
mov al, 1
jmp 0x44559e
cmp dword [ebp - 0x48], 1
je 0x445333
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4454f8
cmp dword [ebp - 0x48], 0
je 0x4454f8
lea ecx, [ebp - 0x54]
call fcn.0040a490
mov dword [ebp - 4], 0
cmp dword [ebp - 0x48], 1
setne cl
movzx edx, cl
push edx
lea edx, [ebp - 0x54]
mov ecx, dword [ebp - 0xc4]
call fcn.00443300
movzx eax, al
test eax, eax
je 0x4454d9
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x98], ecx
push 0
mov edx, dword [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4453bd
mov byte [ebp - 0x8d], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b0c50
add esp, 4
mov al, byte [ebp - 0x8d]
jmp 0x44559e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4453fb
mov byte [ebp - 0x8e], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004b0c50
add esp, 4
mov al, byte [ebp - 0x8e]
jmp 0x44559e
lea ecx, [ebp - 0x8c]
call fcn.00441620
lea ecx, [ebp - 0x64]
call fcn.0040a490
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x8c]
call fcn.00441770
movzx eax, al
test eax, eax
jne 0x445481
mov byte [ebp - 0x8f], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
push edx
call fcn.004b0c50
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.004b0c50
add esp, 4
mov al, byte [ebp - 0x8f]
jmp 0x44559e
mov edx, dword [ebp - 0x6c]
and edx, 0x10
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x90], dl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.004b0c50
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004b0c50
add esp, 4
mov al, byte [ebp - 0x90]
jmp 0x44559e
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.004b0c50
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x44550c
xor al, al
jmp 0x44559e
lea ecx, [ebp - 0x44]
call fcn.00441620
lea ecx, [ebp - 0x1c]
call fcn.0040a490
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x44]
call fcn.00441770
movzx ecx, al
test ecx, ecx
jne 0x445567
mov byte [ebp - 0x91], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004b0c50
add esp, 4
mov al, byte [ebp - 0x91]
jmp 0x44559e
mov ecx, dword [ebp - 0x24]
and ecx, 0x10
neg ecx
sbb ecx, ecx
neg ecx
mov byte [ebp - 0x92], cl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
push eax
call fcn.004b0c50
add esp, 4
mov al, byte [ebp - 0x92]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret