Function at 0x44b830
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x621d30]
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.004035d0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
test esi, esi
je 0x44b906
cmp word [ebx + esi*2 - 2], 0x5c
lea eax, [ebx + esi*2 - 2]
je 0x44b892
cmp eax, ebx
je 0x44b906
sub eax, 2
cmp word [eax], 0x5c
jne 0x44b885
sub eax, ebx
sar eax, 1
test eax, eax
jle 0x44b906
lea ecx, [esi - 1]
cmp eax, ecx
jne 0x44b906
cmp esi, 3
jne 0x44b8d1
cmp word [ebx + 2], 0x3a
jne 0x44b8d1
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00489718
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
lea edx, [eax + 1]
mov edi, 1
cmp edx, esi
jle 0x44b8e5
mov edi, esi
sub edi, eax
test edi, edi
jle 0x44b906
lea ecx, [edi + eax]
mov edx, esi
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.00590a40
add esp, 0xc
sub esi, edi
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.00407160
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], esi
nop
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44ba67
call edi
cmp eax, 0xb7
je 0x44b9b7
test esi, esi
je 0x44bb49
cmp word [ebx + esi*2 - 2], 0x5c
lea eax, [ebx + esi*2 - 2]
je 0x44b961
mov edi, edi
cmp eax, ebx
je 0x44bb49
sub eax, 2
cmp word [eax], 0x5c
jne 0x44b950
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x18], eax
js 0x44bb49
test eax, eax
je 0x44bb49
cmp word [ebx + eax*2 - 2], 0x3a
je 0x44bb3f
mov ecx, eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x28]
call fcn.0041d0c0
push eax
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004064e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00489718
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
add esp, 4
jmp 0x44b920
lea esi, [ebp - 0x54]
call fcn.00406460
or esi, 0xffffffff
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x7c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0044bd20
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x44b9e5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x11], 0
jne 0x44ba2b
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x54]
push edx
call fcn.00489718
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
add esp, 4
push eax
call fcn.00489718
add esp, 4
push ebx
mov dword [ebp - 4], esi
call fcn.00489718
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 - 0x5c]
mov al, 1
shr ecx, 4
mov byte [ebp - 4], al
test al, cl
jne 0x44ba5b
mov edx, dword [ebp - 0x54]
push edx
call fcn.00489718
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
add esp, 4
push eax
call fcn.00489718
mov dword [ebp - 4], esi
jmp 0x44bb5d
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00489718
add esp, 4
lea edx, [ebp - 0x34]
push edx
lea esi, [ebp - 0x28]
call fcn.004064e0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jge 0x44baeb
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx*2 + 2]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x44baa1
lea ecx, [ecx]
test cx, cx
je 0x44baac
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x5c
jne 0x44ba90
sub eax, edx
sar eax, 1
mov edi, eax
mov dword [ebp - 0x18], edi
jns 0x44bab4
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.0041d0c0
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
test al, al
mov eax, dword [ebp - 0x40]
push eax
sete bl
call fcn.00489718
add esp, 4
test bl, bl
jne 0x44bb22
cmp edi, dword [ebp - 0x24]
jl 0x44ba7b
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
push eax
call fcn.00489718
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add esp, 4
push ecx
call fcn.00489718
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 byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00489718
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
add esp, 4
push edx
jmp 0x44bb61
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
push edx
jmp 0x44bb51
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
push eax
call fcn.00489718
mov dword [ebp - 4], 0xffffffff
add esp, 4
push ebx
call fcn.00489718
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