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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x904
mov eax, dword [0x43a004]
xor eax, esp
mov dword [esp + 0x900], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
jmp 0x42ef10
call edi
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
cmp esi, 0x176afc
jg 0x42ef33
inc esi
cmp esi, 0x365ea5f8
jl 0x42ef10
jmp 0x42ef46
cmp dword [0x2be26cc], 0xa
jne 0x42ef46
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 0x42ef62
mov eax, dword [0x43bbe4]
mov dword [0x2be26d0], eax
cmp dword [0x2be26cc], 0x3c
jne 0x42ef6e
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x42ef50
cmp dword [0x2be26cc], 0x7c
jne 0x42eff2
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.gesehenizutuvufigi
call dword [sym.imp.KERNEL32.dll_AddAtomW]
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_EnumDateFormatsW]
cmp dword [0x2be26cc], 0x2d
jne 0x42efe0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x4383da
push 0x43ccb8
call fcn.00401204
add esp, 8
cmp dword [0x2be26cc], 0x110a
jne 0x42f04d
push ebx
push ebx
push ebx
mov dword [0x2be2338], ebx
mov dword [0x2be233c], ebx
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push ebx
push ebx
lea edx, [esp + 0x60]
push edx
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.004010f1
push ebx
call fcn.00401170
add esp, 0xc
push ebx
push ebx
call fcn.004010f1
push ebx
push ebx
call fcn.004010f1
add esp, 0x10
call fcn.0042e470
xor esi, esi
cmp dword [0x2be26cc], ebx
jbe 0x42f0a0
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov eax, dword [0x2be26d0]
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 [0x2be024c]
mov byte [eax + esi], dl
cmp dword [0x2be26cc], 0x5ab
jne 0x42f097
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x2be26cc]
jb 0x42f062
call fcn.0042ed60
call fcn.0042e4a0
call fcn.0042ee50
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
xor esi, esi
cmp dword [0x2be26cc], 0x41
jne 0x42f0c5
push ebx
push ebx
push ebx
call edi
cmp esi, 0xbd9cb
jne 0x42f0d7
add dword [0x2be024c], 0
inc esi
cmp esi, 0x15a63d
jl 0x42f0b7
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_GetClassLongA]
xor esi, esi
lea esp, [esp]
push 0
push 0
call edi
cmp esi, 0x1ac2b
jle 0x42f106
cmp ebx, 0xf5bee1
jne 0x42f10f
inc esi
cmp esi, 0x1ebc2db6
jl 0x42f0f0
mov ecx, dword [esp + 0x90c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004010e2
mov esp, ebp
pop ebp
ret