Function at 0x4b5d90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0a30
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4ff684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0x68], edi
cmp dword [edi + 0x14], 8
jb 0x4b5dca
mov eax, dword [edi]
push eax
call fcn.004b5920
add esp, 4
test al, al
je 0x4b5df4
xor eax, eax
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.00488f07
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x14]
mov eax, edi
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x70], edi
cmp edx, 8
jb 0x4b5e1a
mov eax, dword [edi]
mov dword [ebp - 0x70], eax
cmp ecx, 8
jae 0x4b5e32
movups xmm0, xmmword [eax]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
jmp 0x4b5e93
mov eax, ecx
mov ecx, SysReAllocString
or eax, 7
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x64], eax
inc eax
cmp eax, 0x7fffffff
ja 0x4b6232
add eax, eax
push eax
call fcn.00414581
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x6c], esi
push eax
call fcn.00414380
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x70]
push esi
call fcn.0048af40
mov eax, dword [ebp - 0x60]
add esp, 0x18
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x28], ax
mov eax, 4
cmp ecx, eax
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x14], 7
cmovb eax, ecx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x64], eax
mov ecx, edi
cmp edx, 8
jb 0x4b5ec7
mov ecx, dword [edi]
mov dword [ebp - 0x60], ecx
mov edx, 0xa
cmp eax, 7
ja 0x4b5eee
lea esi, [eax + eax]
mov dword [ebp - 0x18], eax
push esi
push ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0048af40
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
jmp 0x4b5f5c
cmp eax, 0x7ffffffe
ja 0x4b622d
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4b5f0d
mov esi, SysReAllocString
jmp 0x4b5f12
cmp esi, edx
cmovb esi, edx
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4b6232
add eax, eax
push eax
call fcn.00414581
mov edi, eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x18], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x60]
push edi
call fcn.0048af40
xor eax, eax
mov word [esi + edi], ax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00414380
mov edi, dword [ebp - 0x68]
add esp, 0x18
lea eax, [ebp - 0x28]
push eax
push str.__
call fcn.00442390
mov ecx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 0x5a], al
cmp ecx, 8
jb 0x4b5f8e
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x28]
call fcn.0041334d
mov al, byte [ebp - 0x5a]
add esp, 8
test al, al
je 0x4b6096
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [edi + 0x10]
cmp eax, 4
jb 0x4b6237
add eax, 0xfffffffc
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x64], ecx
mov eax, edi
jb 0x4b5fc8
mov eax, dword [edi]
add eax, 8
mov dword [ebp - 0x6c], eax
cmp ecx, 7
ja 0x4b5ff0
lea esi, [ecx + ecx]
mov dword [ebp - 0x18], ecx
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0048af40
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
jmp 0x4b6065
cmp ecx, 0x7ffffffe
ja 0x4b622d
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4b6010
mov esi, SysReAllocString
jmp 0x4b601b
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4b6232
add eax, eax
push eax
call fcn.00414581
mov edi, eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x18], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x6c]
push edi
call fcn.0048af40
xor eax, eax
mov word [esi + edi], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00414380
mov edi, dword [ebp - 0x68]
add esp, 0x18
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4b6080
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x40]
call fcn.0041334d
add esp, 8
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x59], 1
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x30], xmm0
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmp esi, 8
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x68], eax
test ecx, ecx
je 0x4b6209
mov edx, eax
xor eax, eax
test ecx, ecx
je 0x4b60d6
mov eax, edx
cmp word [eax], 0x5c
je 0x4b60d0
cmp ecx, 1
je 0x4b60d4
add edx, 2
dec ecx
cmp word [edx], 0x5c
jne 0x4b60c1
mov eax, edx
jmp 0x4b60d6
xor eax, eax
test eax, eax
je 0x4b6209
sub eax, dword [ebp - 0x68]
sar eax, 1
mov dword [ebp - 0x64], eax
cmp eax, 0xffffffff
je 0x4b6209
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x40]
cmp esi, 8
cmovae edx, dword [ebp - 0x40]
test eax, eax
je 0x4b6129
dec eax
mov ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x4b6123
cmp ecx, edx
je 0x4b6129
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x4b6116
sub ecx, edx
sar ecx, 1
jmp 0x4b612c
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x4b6209
cmp dword [ebp - 0x64], ecx
je 0x4b61e4
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x30], ecx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmovb ecx, dword [ebp - 0x30]
cmp esi, 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], 7
call fcn.0041441e
cmp byte [ebp - 0x59], 0
mov byte [ebp - 4], 1
je 0x4b619d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push str.__
push eax
call fcn.00414f0d
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.00414ec2
lea ecx, [ebp - 0x58]
call fcn.00414870
lea eax, [ebp - 0x28]
push eax
call fcn.004b5d90
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x14]
test esi, esi
je 0x4b61cc
cmp eax, 8
jb 0x4b620b
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.0041334d
add esp, 8
jmp 0x4b620b
cmp eax, 8
jb 0x4b61e4
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.0041334d
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x4b61ec
mov edi, dword [edi]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4b6209
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x4b620b
xor esi, esi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x4b6226
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x40]
call fcn.0041334d
add esp, 8
mov eax, esi
jmp 0x4b5dd9
call fcn.00414470
call fcn.00414539
call fcn.004127c1
int3