Function at 0x448f60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
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.004035b0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
test edi, edi
je 0x449012
cmp word [ebx + edi*2 - 2], 0x5c
lea eax, [ebx + edi*2 - 2]
je 0x448fbe
cmp eax, ebx
je 0x449012
sub eax, 2
cmp word [eax], 0x5c
jne 0x448fb1
sub eax, ebx
sar eax, 1
test eax, eax
jle 0x449012
lea ecx, [edi - 1]
cmp eax, ecx
jne 0x449012
cmp edi, 3
jne 0x448fdd
cmp word [ebx + 2], 0x3a
je 0x449185
lea edx, [eax + 1]
mov esi, 1
cmp edx, edi
jle 0x448ff1
mov esi, edi
sub esi, eax
test esi, esi
jle 0x449012
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.004e4c50
add esp, 0xc
sub edi, esi
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.00407070
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 0x4491d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x449133
test edi, edi
je 0x449291
cmp word [ebx + edi*2 - 2], 0x5c
lea eax, [ebx + edi*2 - 2]
je 0x449071
jmp 0x449060
cmp eax, ebx
je 0x449291
sub eax, 2
cmp word [eax], 0x5c
jne 0x449060
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x18], eax
js 0x449291
test eax, eax
je 0x449291
cmp word [ebx + eax*2 - 2], 0x3a
je 0x44928b
mov ecx, eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x28]
call fcn.0041dbd0
mov edi, eax
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
cmp edi, ecx
je 0x44911b
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 0x449100
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4af8
add esp, 4
cmp dword [ebp - 0x20], 0
mov edi, eax
jle 0x4490f0
push ebx
call fcn.004e4c40
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 0x449104
mov ecx, dword [edi + 4]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
push edx
call fcn.004e4c40
mov edi, dword [ebp - 0x24]
add esp, 4
jmp 0x449025
lea esi, [ebp - 0x54]
call fcn.004061f0
mov dword [ebp - 0x1c], 0xffffffff
lea edi, [ebp - 0x7c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00449c90
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x449167
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x11], 0
jne 0x4491a2
mov eax, dword [ebp - 0x54]
push eax
call fcn.004e4c40
mov ecx, dword [ebp - 0x34]
add esp, 4
push ecx
call fcn.004e4c40
add esp, 4
push ebx
call fcn.004e4c40
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 0x4491c2
mov eax, dword [ebp - 0x54]
push eax
call fcn.004e4c40
mov ecx, dword [ebp - 0x34]
add esp, 4
push ecx
jmp 0x449295
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x54]
push edx
call fcn.004e4c40
add esp, 4
lea edi, [ebp - 0x34]
lea eax, [ebp - 0x28]
call fcn.00406270
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jge 0x44924d
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx*2 + 2]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x449208
test cx, cx
je 0x449213
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x5c
jne 0x4491f7
sub eax, edx
sar eax, 1
mov edi, eax
mov dword [ebp - 0x18], edi
jns 0x44921b
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.0041dbd0
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.004e4c40
add esp, 4
test bl, bl
je 0x449279
cmp edi, dword [ebp - 0x24]
jl 0x4491e5
mov eax, dword [ebp - 0x34]
push eax
call fcn.004e4c40
mov ecx, dword [ebp - 0x28]
add esp, 4
push ecx
call fcn.004e4c40
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.004e4c40
mov edx, dword [ebp - 0x28]
add esp, 4
push edx
jmp 0x44929e
mov edx, dword [ebp - 0x34]
push edx
jmp 0x449295
mov eax, dword [ebp - 0x34]
push eax
call fcn.004e4c40
add esp, 4
push ebx
call fcn.004e4c40
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