Function at 0x448f10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c908
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x4c4330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea esi, [ebp - 0x28]
call fcn.00403590
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
test edi, edi
je 0x448fc2
cmp word [ebx + edi*2 - 2], 0x5c
lea eax, [ebx + edi*2 - 2]
je 0x448f6e
cmp eax, ebx
je 0x448fc2
sub eax, 2
cmp word [eax], 0x5c
jne 0x448f61
sub eax, ebx
sar eax, 1
test eax, eax
jle 0x448fc2
lea ecx, [edi - 1]
cmp eax, ecx
jne 0x448fc2
cmp edi, 3
jne 0x448f8d
cmp word [ebx + 2], 0x3a
je 0x449135
lea edx, [eax + 1]
mov esi, 1
cmp edx, edi
jle 0x448fa1
mov esi, edi
sub esi, eax
test esi, esi
jle 0x448fc2
lea ecx, [esi + eax]
mov edx, edi
sub edx, ecx
lea edx, [edx + edx + 2]
push edx
lea ecx, [ebx + ecx*2]
push ecx
lea edx, [ebx + eax*2]
push edx
call fcn.004856a0
add esp, 0xc
sub edi, esi
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.00407000
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x449182
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4490e3
test edi, edi
je 0x449241
cmp word [ebx + edi*2 - 2], 0x5c
lea eax, [ebx + edi*2 - 2]
je 0x449021
jmp 0x449010
cmp eax, ebx
je 0x449241
sub eax, 2
cmp word [eax], 0x5c
jne 0x449010
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x18], eax
js 0x449241
test eax, eax
je 0x449241
cmp word [ebx + eax*2 - 2], 0x3a
je 0x44923b
mov ecx, eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x28]
call fcn.0041dc30
mov edi, eax
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
cmp edi, ecx
je 0x4490cb
xor edx, edx
mov word [ebx], dx
mov esi, dword [edi + 4]
inc esi
mov dword [ebp - 0x24], 0
cmp esi, dword [ebp - 0x20]
je 0x4490b0
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00485549
add esp, 4
cmp dword [ebp - 0x20], 0
mov edi, eax
jle 0x4490a0
push ebx
call fcn.00485691
add esp, 4
mov ebx, edi
xor eax, eax
mov word [edi], ax
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], esi
mov edx, dword [edi]
mov ecx, ebx
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x4490b4
mov ecx, dword [edi + 4]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
push edx
call fcn.00485691
mov edi, dword [ebp - 0x24]
add esp, 4
jmp 0x448fd5
lea esi, [ebp - 0x54]
call fcn.00406180
mov dword [ebp - 0x1c], 0xffffffff
lea edi, [ebp - 0x7c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00449c40
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x449117
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x11], 0
jne 0x449152
mov eax, dword [ebp - 0x54]
push eax
call fcn.00485691
mov ecx, dword [ebp - 0x34]
add esp, 4
push ecx
call fcn.00485691
add esp, 4
push ebx
call fcn.00485691
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x5c]
shr edx, 4
test dl, 1
jne 0x449172
mov eax, dword [ebp - 0x54]
push eax
call fcn.00485691
mov ecx, dword [ebp - 0x34]
add esp, 4
push ecx
jmp 0x449245
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x54]
push edx
call fcn.00485691
add esp, 4
lea edi, [ebp - 0x34]
lea eax, [ebp - 0x28]
call fcn.00406200
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jge 0x4491fd
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx*2 + 2]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x4491b8
test cx, cx
je 0x4491c3
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x5c
jne 0x4491a7
sub eax, edx
sar eax, 1
mov edi, eax
mov dword [ebp - 0x18], edi
jns 0x4491cb
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
mov edi, edx
mov ecx, edi
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x28]
call fcn.0041dc30
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov eax, dword [ebp - 0x40]
push eax
setne bl
call fcn.00485691
add esp, 4
test bl, bl
je 0x449229
cmp edi, dword [ebp - 0x24]
jl 0x449195
mov eax, dword [ebp - 0x34]
push eax
call fcn.00485691
mov ecx, dword [ebp - 0x28]
add esp, 4
push ecx
call fcn.00485691
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00485691
mov edx, dword [ebp - 0x28]
add esp, 4
push edx
jmp 0x44924e
mov edx, dword [ebp - 0x34]
push edx
jmp 0x449245
mov eax, dword [ebp - 0x34]
push eax
call fcn.00485691
add esp, 4
push ebx
call fcn.00485691
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret