Function at 0x448f90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7638
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x521390]
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.00403610
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
test edi, edi
je 0x449042
cmp word [ebx + edi*2 - 2], 0x5c
lea eax, [ebx + edi*2 - 2]
je 0x448fee
cmp eax, ebx
je 0x449042
sub eax, 2
cmp word [eax], 0x5c
jne 0x448fe1
sub eax, ebx
sar eax, 1
test eax, eax
jle 0x449042
lea ecx, [edi - 1]
cmp eax, ecx
jne 0x449042
cmp edi, 3
jne 0x44900d
cmp word [ebx + 2], 0x3a
je 0x4491b5
lea edx, [eax + 1]
mov esi, 1
cmp edx, edi
jle 0x449021
mov esi, edi
sub esi, eax
test esi, esi
jle 0x449042
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.004cbf80
add esp, 0xc
sub edi, esi
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.00407120
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 0x449202
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x449163
test edi, edi
je 0x4492c1
cmp word [ebx + edi*2 - 2], 0x5c
lea eax, [ebx + edi*2 - 2]
je 0x4490a1
jmp 0x449090
cmp eax, ebx
je 0x4492c1
sub eax, 2
cmp word [eax], 0x5c
jne 0x449090
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x18], eax
js 0x4492c1
test eax, eax
je 0x4492c1
cmp word [ebx + eax*2 - 2], 0x3a
je 0x4492bb
mov ecx, eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x28]
call fcn.0041dd10
mov edi, eax
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
cmp edi, ecx
je 0x44914b
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 0x449130
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004cbe29
add esp, 4
cmp dword [ebp - 0x20], 0
mov edi, eax
jle 0x449120
push ebx
call fcn.004cbf71
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 0x449134
mov ecx, dword [edi + 4]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
push edx
call fcn.004cbf71
mov edi, dword [ebp - 0x24]
add esp, 4
jmp 0x449055
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.00449cc0
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x449197
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x11], 0
jne 0x4491d2
mov eax, dword [ebp - 0x54]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x34]
add esp, 4
push ecx
call fcn.004cbf71
add esp, 4
push ebx
call fcn.004cbf71
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 0x4491f2
mov eax, dword [ebp - 0x54]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x34]
add esp, 4
push ecx
jmp 0x4492c5
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x54]
push edx
call fcn.004cbf71
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 0x44927d
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx*2 + 2]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x449238
test cx, cx
je 0x449243
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x5c
jne 0x449227
sub eax, edx
sar eax, 1
mov edi, eax
mov dword [ebp - 0x18], edi
jns 0x44924b
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.0041dd10
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.004cbf71
add esp, 4
test bl, bl
je 0x4492a9
cmp edi, dword [ebp - 0x24]
jl 0x449215
mov eax, dword [ebp - 0x34]
push eax
call fcn.004cbf71
mov ecx, dword [ebp - 0x28]
add esp, 4
push ecx
call fcn.004cbf71
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.004cbf71
mov edx, dword [ebp - 0x28]
add esp, 4
push edx
jmp 0x4492ce
mov edx, dword [ebp - 0x34]
push edx
jmp 0x4492c5
mov eax, dword [ebp - 0x34]
push eax
call fcn.004cbf71
add esp, 4
push ebx
call fcn.004cbf71
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