Function at 0x449bd0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5d7ce0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00407af0
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x14], edi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, dword [edi - 0xc]
lea eax, [ebx - 1]
cmp eax, edx
jl 0x449c30
cmp eax, ebx
jg 0x449c30
cmp word [edi + eax*2], 0x5c
je 0x449c70
lea esi, [ebx + 1]
cmp esi, edx
jge 0x449c3a
push 0x80070057
call fcn.00407ad0
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x449c59
push esi
lea ecx, [ebp - 0x14]
call fcn.004077a0
mov edi, dword [ebp - 0x14]
xor edx, edx
mov ecx, 0x5c
mov word [edi + ebx*2], cx
cmp esi, dword [edi - 8]
jg 0x449c30
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 1
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x449c97
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov byte [ebp - 4], 2
mov eax, dword [edi - 0xc]
xor edx, edx
mov ebx, 1
mov dword [ebp - 0x18], edx
test eax, eax
jle 0x449d9d
jmp 0x449cc4
mov edi, dword [ebp - 0x14]
test edx, edx
js 0x449c30
cmp edx, eax
jg 0x449c30
movzx ecx, word [edi + edx*2]
cmp ecx, 0x5c
je 0x449d31
cmp edx, eax
jg 0x449c30
mov edi, dword [esi - 0xc]
mov dword [ebp - 0x20], edi
inc edi
mov dword [ebp - 0x1c], ecx
js 0x449c30
mov eax, dword [esi - 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x449d12
push edi
lea ecx, [ebp + 8]
call fcn.004077a0
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov ax, word [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov word [esi + ecx*2], ax
cmp edi, dword [esi - 8]
jg 0x449c30
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x449d8b
lea ecx, [ebp + 8]
lea edi, [ebp - 0x30]
call fcn.0044ac20
mov esi, dword [ebp + 8]
mov edx, dword [esi - 0xc]
lea edi, [edx + 1]
mov dword [ebp - 0x20], edx
test edi, edi
js 0x449c30
mov eax, dword [esi - 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x449d6d
push edi
lea ecx, [ebp + 8]
call fcn.004077a0
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, 0x5c
mov word [esi + edx*2], cx
cmp edi, dword [esi - 8]
jg 0x449c30
xor edx, edx
mov dword [esi - 0xc], edi
mov word [esi + edi*2], dx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
inc edx
mov dword [ebp - 0x18], edx
cmp edx, eax
jl 0x449cc1
mov edi, dword [ebp - 0x30]
mov ecx, edi
cmp ecx, dword [ebp - 0x2c]
je 0x449dd8
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
neg ebx
sbb ebx, ebx
add edi, 4
neg ebx
cmp edi, dword [ebp - 0x2c]
jne 0x449da7
test ebx, ebx
jne 0x449dd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x449dd8
mov ebx, 1
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x449df8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x449e3a
cmp esi, dword [ebp - 0x2c]
je 0x449e31
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449e26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, dword [ebp - 0x2c]
jne 0x449e08
mov esi, dword [ebp - 0x30]
push esi
call fcn.0044c90f
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x449e60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret