Function at 0x427c40
Capabilities:
Create directory
Get common file path
Get hostname
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xd34
mov eax, dword [0x42c004]
xor eax, esp
mov dword [esp + 0xd30], 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 0x427c70
call edi
push 0
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
cmp esi, 0x176afc
jg 0x427c95
inc esi
cmp esi, 0x365ea5f8
jl 0x427c70
jmp 0x427ca8
cmp dword [0x2bd46dc], 0xa
jne 0x427ca8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x427cc4
mov eax, dword [0x42e024]
mov dword [0x2bd46e0], eax
cmp dword [0x2bd46dc], 0x3c
jne 0x427cd0
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x427cb2
cmp dword [0x2bd46dc], 0x7c
jne 0x427d75
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x80]
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_GetComputerNameA]
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push str.sotihodebigakajov
call dword [sym.imp.KERNEL32.dll_AddAtomW]
lea edx, [esp + 0x538]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
cmp dword [0x2bd46dc], 0x2d
jne 0x427d57
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x42a4cd
push 0x42ecc8
call fcn.00401698
fldz
fstp qword [esp]
call fcn.00401100
fstp st(0)
add esp, 8
cmp dword [0x2bd46dc], 0x110a
jne 0x427dd0
push ebx
push ebx
lea eax, [esp + 0x90]
push eax
mov dword [0x2bd4348], ebx
mov dword [0x2bd434c], 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.0040121d
push ebx
call fcn.0040129c
add esp, 0xc
push ebx
push ebx
call fcn.0040121d
push ebx
push ebx
call fcn.0040121d
add esp, 0x10
push ebx
call fcn.00401646
call fcn.004271d0
xor esi, esi
cmp dword [0x2bd46dc], ebx
jbe 0x427e30
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileW]
jmp 0x427df0
mov ecx, dword [0x2bd46e0]
mov dword [esp + 0x2c], ecx
mov eax, 0xa231
add dword [esp + 0x2c], eax
mov edx, dword [esp + 0x2c]
mov al, byte [edx + esi]
mov ecx, dword [0x2bd225c]
mov byte [ecx + esi], al
cmp dword [0x2bd46dc], 0x5ab
jne 0x427e27
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x2bd46dc]
jb 0x427df0
call fcn.00427ac0
call fcn.00427200
call fcn.00427bb0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
xor esi, esi
cmp dword [0x2bd46dc], 0x41
jne 0x427e55
push ebx
push ebx
push ebx
call edi
cmp esi, 0xbd9cb
jne 0x427e62
call fcn.004271f0
inc esi
cmp esi, 0x15a63d
jl 0x427e47
mov ebx, dword [esp + 0x48]
mov edi, dword [sym.imp.USER32.dll_GetClassLongW]
xor esi, esi
push 0
push 0
call edi
cmp esi, 0x1abc7
jle 0x427e8d
cmp ebx, 0xf5bed7
jne 0x427e96
inc esi
cmp esi, 0x1ebc2ad2
jl 0x427e77
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov edi, dword [sym.imp.ADVAPI32.dll_AccessCheckByType]
mov dword [esp + 0x30], 0x1519a5
mov ebx, dword [esp + 0x30]
mov edi, edi
cmp dword [0x2bd46dc], 0x3dc
mov dword [0x2bd4344], 0x8e46a6f0
jne 0x427ef7
xor edx, edx
lea ecx, [esp + 0x38]
push ecx
push edx
push edx
push edx
push edx
mov dword [esp + 0x40], edx
call esi
mov edx, dword [esp + 0x34]
push 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
push 0
push 0
push edx
push 0
push 0
push 0
push 0
call edi
dec dword [esp + 0x30]
jne 0x427eb0
mov ecx, dword [esp + 0xd3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004010e8
mov esp, ebp
pop ebp
ret