Function at 0x4b5150
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0c65
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4f7108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4b5187
mov eax, dword [esi]
push eax
call fcn.004b4c10
add esp, 4
test al, al
je 0x4b519b
xor eax, eax
jmp 0x4b5532
cmp dword [esi + 0x14], 8
mov eax, esi
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x60], esi
jb 0x4b51c3
mov eax, dword [esi]
mov dword [ebp - 0x60], eax
mov ecx, SysReAllocString
cmp edi, 8
jae 0x4b51dd
movups xmm0, xmmword [eax]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x4b523f
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x64], eax
inc eax
cmp eax, 0x7fffffff
ja 0x4b554d
add eax, eax
cmp eax, 0x1000
jb 0x4b520f
push eax
call fcn.0040bbdf
add esp, 4
mov ecx, eax
jmp 0x4b5222
test eax, eax
je 0x4b5220
push eax
call fcn.0047e643
add esp, 4
mov ecx, eax
jmp 0x4b5222
xor ecx, ecx
lea eax, [edi*2 + 2]
mov dword [ebp - 0x28], ecx
push eax
push dword [ebp - 0x60]
push ecx
call fcn.00483a80
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
push 4
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
mov byte [ebp - 0x5a], 0
call fcn.00410fea
push 0x4e1090
push eax
call fcn.004b4a40
add esp, 8
mov byte [ebp - 0x59], al
lea ecx, [ebp - 0x58]
call fcn.0040af52
cmp byte [ebp - 0x59], 0
je 0x4b5312
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.00410fea
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4b5306
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4b52d1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b52c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5552
push edx
push ecx
call fcn.0047ea2e
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x58]
call fcn.0040af52
mov byte [ebp - 0x5a], 1
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmovae edx, edi
setae byte [ebp - 0x59]
mov dword [ebp - 0x60], edx
test ecx, ecx
je 0x4b54f8
xor eax, eax
test ecx, ecx
je 0x4b5355
mov eax, edx
cmp word [eax], 0x5c
je 0x4b534f
nop
cmp ecx, 1
je 0x4b5353
add edx, 2
dec ecx
cmp word [edx], 0x5c
jne 0x4b5340
mov eax, edx
jmp 0x4b5355
xor eax, eax
test eax, eax
je 0x4b54f8
sub eax, dword [ebp - 0x60]
sar eax, 1
mov dword [ebp - 0x64], eax
cmp eax, 0xffffffff
je 0x4b54f8
cmp byte [ebp - 0x59], 0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovne edx, edi
test eax, eax
je 0x4b54f8
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x4b53a7
cmp ecx, edx
je 0x4b54f8
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x4b5396
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
je 0x4b54f8
cmp dword [ebp - 0x64], ecx
je 0x4b54d3
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x18], ecx
mov word [ebp - 0x40], ax
cmovb ecx, dword [ebp - 0x18]
cmp byte [ebp - 0x59], 0
mov byte [ebp - 4], al
lea eax, [ebp - 0x28]
push ecx
cmovne eax, edi
mov dword [ebp - 0x2c], 7
push eax
lea ecx, [ebp - 0x40]
call fcn.0040b279
cmp byte [ebp - 0x5a], 0
mov byte [ebp - 4], 4
je 0x4b544a
mov ecx, dword [ebp - 0x30]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 4
jb 0x4b5557
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
push 4
push 0x4e1090
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x64]
call fcn.0040cf2a
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040c6f1
lea ecx, [ebp - 0x58]
call fcn.0040af52
lea eax, [ebp - 0x40]
push eax
call fcn.004b5150
mov edx, dword [ebp - 0x2c]
mov edi, eax
add esp, 4
test edi, edi
je 0x4b549c
cmp edx, 8
jb 0x4b54fa
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5490
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b555c
push edx
push ecx
call fcn.0047ea2e
add esp, 8
jmp 0x4b54fa
cmp edx, 8
jb 0x4b54d3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b54c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b555c
push edx
push ecx
call fcn.0047ea2e
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x4b54db
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4b54f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
jne 0x4b54fa
xor edi, edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp eax, 8
jb 0x4b5530
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5526
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5561
push edx
push ecx
call fcn.0047ea2e
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e22a
mov esp, ebp
pop ebp
ret
call fcn.004054f4
call fcn.0048c979
call fcn.0040556b
call fcn.0048c979
call fcn.0048c979
int3