Function at 0x415a20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dc18
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4c9230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.004019c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0
jg 0x415a91
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.004198c0
mov eax, dword [ebp - 0x20]
jmp 0x415d85
push 0x5c
push 0x2f
lea ecx, [ebp - 0x10]
call fcn.00419320
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x60], ecx
push 0x5c
mov edx, dword [ebp - 0x60]
push edx
call fcn.0041ddb0
add esp, 8
test eax, eax
je 0x415b88
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 3
jne 0x415b33
mov edx, 1
test edx, edx
jl 0x415ae0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 1
jge 0x415aea
push 0x80070057
call fcn.004019a0
mov edx, dword [ebp - 0x10]
mov al, byte [edx + 1]
mov byte [ebp - 0x69], al
movsx ecx, byte [ebp - 0x69]
cmp ecx, 0x3a
jne 0x415b31
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.00414cf0
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x74]
call fcn.004198c0
mov eax, dword [ebp - 0x24]
jmp 0x415d85
jmp 0x415b83
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
sub ecx, 1
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x10]
call fcn.00412b90
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401da0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x28]
sub edx, 0x10
mov dword [ebp - 0x80], edx
mov ecx, dword [ebp - 0x80]
call fcn.004198c0
jmp 0x415c5a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 2
jne 0x415c5a
mov edx, 1
test edx, edx
jl 0x415bbf
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x88], ecx
cmp dword [ebp - 0x88], 1
jge 0x415bc9
push 0x80070057
call fcn.004019a0
mov edx, dword [ebp - 0x10]
mov al, byte [edx + 1]
mov byte [ebp - 0x89], al
movsx ecx, byte [ebp - 0x89]
cmp ecx, 0x3a
jne 0x415c5a
xor edx, edx
jl 0x415bfa
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
jge 0x415c04
push 0x80070057
call fcn.004019a0
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ebp - 0x91], al
movsx ecx, byte [ebp - 0x91]
push ecx
push str._c:_
lea edx, [ebp - 0x10]
push edx
call fcn.00402f10
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.00414cf0
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401d60
mov eax, dword [ebp - 0x2c]
jmp 0x415d85
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
call fcn.00414cf0
add esp, 4
test eax, eax
je 0x415c94
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401d60
mov eax, dword [ebp - 0x30]
jmp 0x415d85
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xac], ecx
push 0x5c
mov edx, dword [ebp - 0xac]
push edx
call fcn.00470a3f
add esp, 8
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x415cc9
mov dword [ebp - 0xcc], 0xffffffff
jmp 0x415cd8
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jl 0x415d4c
mov edx, dword [ebp - 0x18]
push edx
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403620
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
push edx
call fcn.00415a20
add esp, 4
test eax, eax
jne 0x415d40
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401d60
mov eax, dword [ebp - 0x34]
jmp 0x415d85
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401d60
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc0], eax
push 0
mov ecx, dword [ebp - 0xc0]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401d60
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret