Function at 0x4c6080
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x573ff1
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x1cc], eax
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x1dc]
mov dword fs:[0], eax
mov dword [esp + 0xd4], ecx
mov eax, dword [esp + 0x1ec]
shr eax, 0xe
and al, 1
je 0x4c6307
xorps xmm0, xmm0
mov dword [esp + 0x1d4], 0
movq qword [esp + 0x1cc], xmm0
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1d4], 0
lea eax, [esp + 0x1cc]
mov dword [esp + 0x1e4], 0
push eax
add ecx, 4
call fcn.004bcff0
mov edi, dword [esp + 0x1d0]
mov eax, 0x92492493
mov esi, dword [esp + 0x1cc]
mov ecx, edi
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4c62a7
lea ecx, [esp + 0x18c]
call fcn.004bbb90
mov edi, dword [esp + 0x1cc]
mov byte [esp + 0x1e4], 1
cmp edi, dword [esp + 0x1d0]
je 0x4c6285
jmp 0x4c6180
push edi
lea ecx, [esp + 0xbc]
call fcn.004bbaf0
lea eax, [esp + 0xb8]
mov byte [esp + 0x1e4], 2
push eax
lea ecx, [esp + 0x190]
call fcn.004bbd30
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1e4], 1
call fcn.0045fd40
lea ecx, [esp + 0x18c]
call fcn.004bc560
test al, al
jne 0x4c6275
mov esi, dword [esp + 0x1ec]
lea eax, [esp + 0x18c]
xorps xmm0, xmm0
mov dword [esp + 0x1c8], 0
movdqu xmmword [esp + 0x1a8], xmm0
push eax
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1ac], 0x445e54
xor esi, 0x4000
movdqu xmmword [esp + 0x1bc], xmm0
call fcn.004bbaf0
mov dword [esp + 0x1c8], 0
push esi
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x1e8], 3
call fcn.004c6080
mov dword [esp + 0x1a8], 0x445e54
mov ecx, dword [esp + 0x1c8]
mov byte [esp + 0x1e4], 4
test ecx, ecx
je 0x4c6261
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x1e4], 1
call fcn.0045fd40
add edi, 0x1c
cmp edi, dword [esp + 0x1d0]
jne 0x4c6180
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1e4], 0
call fcn.0045fd40
mov edi, dword [esp + 0x1d0]
mov esi, dword [esp + 0x1cc]
mov dword [esp + 0x1e4], 0xffffffff
test esi, esi
je 0x4c62df
cmp esi, edi
je 0x4c62d6
lea ebx, [ebx]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, edi
jne 0x4c62c0
mov esi, dword [esp + 0x1cc]
push esi
call fcn.00549eaf
add esp, 4
mov ecx, dword [esp + 0x1dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1cc]
xor ecx, esp
call fcn.0054a992
add esp, 0x1dc
ret 4
cmp dword [ecx + 0x1c], 0x10
lea eax, [ecx + 8]
jb 0x4c6312
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
test al, al
jne 0x4c62df
push 0xac
lea eax, [esp + 0xe4]
push 0
push eax
call fcn.0054b440
add esp, 0xc
call fcn.004bb040
mov dword [esp + 0xd8], eax
call fcn.004bb040
mov edi, eax
call fcn.004bb040
mov esi, eax
call fcn.004bb040
push dword [esp + 0xd8]
lea ecx, [esp + 0xe4]
push edi
push esi
push eax
push 0x3ec
call fcn.004c07f0
lea ecx, [esp + 0x16c]
mov dword [esp + 0x1e4], 5
mov dword [esp + 0xe0], 0x445ab8
call fcn.004bbb90
mov dword [esp + 0x188], 0
mov dword [esp + 0x1e4], 6
call sub.KERNEL32.dll_GetLastError
mov dword [esp + 0x188], eax
lea ecx, [esp + 0x16c]
mov eax, dword [esp + 0xd4]
add eax, 4
push eax
call fcn.004bbc00
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x10]
call fcn.004bb9f0
push 0x585650
lea eax, [esp + 0x10]
push eax
call fcn.0054a9a1
int3