Function at 0x4c0300
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb49b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5142b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 2
mov byte [ebp - 4], 3
push 0x4f53c0
lea eax, [ebp + 8]
push eax
call fcn.00409570
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4c036a
push 0x4f53c4
lea edx, [ebp + 8]
push edx
call fcn.00409570
add esp, 8
movzx eax, al
test eax, eax
je 0x4c03a0
mov dword [ebp - 0x18], 0xc0000001
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401ed0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401ed0
mov eax, dword [ebp - 0x18]
jmp 0x4c0595
cmp dword [0x515c08], 0
je 0x4c0508
mov ecx, dword [0x515c08]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00407450
mov byte [ebp - 4], 4
push 0x4f53c8
lea ecx, [ebp - 0x14]
call fcn.004092b0
push 0x4f53cc
lea ecx, [ebp - 0x14]
call fcn.004092b0
push 0
lea ecx, [ebp - 0x14]
call fcn.004041b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [0x515c08]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.004075f0
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.00409290
push 0x4f53f0
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.004092b0
mov ecx, dword [0x515c08]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
call fcn.004075f0
lea edx, [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
call fcn.00409290
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 8
call fcn.00403fc0
movzx ecx, word [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x24
call fcn.0040c450
movzx edx, word [ebp + 0x18]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x20
call fcn.0040c450
push 0x4eb6ee
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
call fcn.004075f0
movzx eax, word [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
call fcn.0040c480
movzx ecx, word [ebp + 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
call fcn.0040c480
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.00402650
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4f53f4
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x1c]
push eax
push str._s_s.txt
mov ecx, dword [ebp - 0x24]
add ecx, 0x14
push ecx
call fcn.0040af70
add esp, 0x10
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
call fcn.00402650
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp - 0x24]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x24]
add eax, 0x38
push eax
call fcn.004ba720
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00401ed0
jmp 0x4c0515
push str.NEEDTOSEE_::_CreateDirectory_for_softwaremetering_Get_Failed_due_to_gv_localdcAgentdir__NULL_n
call fcn.00423ad0
add esp, 4
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401ed0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401ed0
mov eax, dword [ebp - 0x1c]
jmp 0x4c0595
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14