Function at 0x448ef0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffd98
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x54b2c0]
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.004035e0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
test edi, edi
je 0x448fa2
cmp word [ebx + edi*2 - 2], 0x5c
lea eax, [ebx + edi*2 - 2]
je 0x448f4e
cmp eax, ebx
je 0x448fa2
sub eax, 2
cmp word [eax], 0x5c
jne 0x448f41
sub eax, ebx
sar eax, 1
test eax, eax
jle 0x448fa2
lea ecx, [edi - 1]
cmp eax, ecx
jne 0x448fa2
cmp edi, 3
jne 0x448f6d
cmp word [ebx + 2], 0x3a
je 0x449115
lea edx, [eax + 1]
mov esi, 1
cmp edx, edi
jle 0x448f81
mov esi, edi
sub esi, eax
test esi, esi
jle 0x448fa2
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.004e00b0
add esp, 0xc
sub edi, esi
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.004071b0
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 0x449162
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4490c3
test edi, edi
je 0x449221
cmp word [ebx + edi*2 - 2], 0x5c
lea eax, [ebx + edi*2 - 2]
je 0x449001
jmp 0x448ff0
cmp eax, ebx
je 0x449221
sub eax, 2
cmp word [eax], 0x5c
jne 0x448ff0
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x18], eax
js 0x449221
test eax, eax
je 0x449221
cmp word [ebx + eax*2 - 2], 0x3a
je 0x44921b
mov ecx, eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x28]
call fcn.0041dd90
mov edi, eax
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
cmp edi, ecx
je 0x4490ab
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 0x449090
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004dff58
add esp, 4
cmp dword [ebp - 0x20], 0
mov edi, eax
jle 0x449080
push ebx
call fcn.004e00a0
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 0x449094
mov ecx, dword [edi + 4]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
push edx
call fcn.004e00a0
mov edi, dword [ebp - 0x24]
add esp, 4
jmp 0x448fb5
lea esi, [ebp - 0x54]
call fcn.00406280
mov dword [ebp - 0x1c], 0xffffffff
lea edi, [ebp - 0x7c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00449c20
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x4490f7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x11], 0
jne 0x449132
mov eax, dword [ebp - 0x54]
push eax
call fcn.004e00a0
mov ecx, dword [ebp - 0x34]
add esp, 4
push ecx
call fcn.004e00a0
add esp, 4
push ebx
call fcn.004e00a0
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 0x449152
mov eax, dword [ebp - 0x54]
push eax
call fcn.004e00a0
mov ecx, dword [ebp - 0x34]
add esp, 4
push ecx
jmp 0x449225
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x54]
push edx
call fcn.004e00a0
add esp, 4
lea edi, [ebp - 0x34]
lea eax, [ebp - 0x28]
call fcn.00406300
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jge 0x4491dd
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx*2 + 2]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x449198
test cx, cx
je 0x4491a3
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x5c
jne 0x449187
sub eax, edx
sar eax, 1
mov edi, eax
mov dword [ebp - 0x18], edi
jns 0x4491ab
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.0041dd90
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.004e00a0
add esp, 4
test bl, bl
je 0x449209
cmp edi, dword [ebp - 0x24]
jl 0x449175
mov eax, dword [ebp - 0x34]
push eax
call fcn.004e00a0
mov ecx, dword [ebp - 0x28]
add esp, 4
push ecx
call fcn.004e00a0
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.004e00a0
mov edx, dword [ebp - 0x28]
add esp, 4
push edx
jmp 0x44922e
mov edx, dword [ebp - 0x34]
push edx
jmp 0x449225
mov eax, dword [ebp - 0x34]
push eax
call fcn.004e00a0
add esp, 4
push ebx
call fcn.004e00a0
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