Function at 0x421ba0
Capabilities:
Create directory
Get common file path
Get geographical location
Get hostname
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcfc
mov eax, dword [0x429004]
xor eax, esp
mov dword [esp + 0xcf8], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalSize]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceLockStatusW]
xor esi, esi
cmp dword [0x81cc7c], 0xc31
jne 0x421c01
lea eax, [esp + 0x14]
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
push 0
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
cmp esi, 0x176ee4
jg 0x421c28
inc esi
cmp esi, 0x3661b338
jl 0x421bcb
jmp 0x421c3b
cmp dword [0x81cc7c], 0xa
jne 0x421c3b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x421c59
mov edx, dword [0x42abcc]
mov dword [0x81cc80], edx
cmp dword [0x81cc7c], 0x3c
jne 0x421c65
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x421c45
cmp dword [0x81cc7c], 0x7c
jne 0x421ce7
push ebx
call dword [sym.imp.ole32.dll_CreateDataAdviseHolder]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [esp + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push str.vehexu
call dword [sym.imp.KERNEL32.dll_AddAtomA]
lea ecx, [esp + 0x500]
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 [0x81cc7c], 0x2d
jne 0x421ccf
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x427a27
push 0x42bc80
call fcn.0040123e
push ebx
call fcn.004010f9
add esp, 0xc
cmp dword [0x81cc7c], 0x110a
jne 0x421d43
mov dword [0x81c8f0], ebx
mov dword [0x81c8f4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push ebx
push ebx
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
call fcn.0040100f
push ebx
call fcn.0040104f
add esp, 0xc
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
push ebx
call fcn.00401227
add esp, 0x14
call fcn.00421110
xor esi, esi
cmp dword [0x81cc7c], ebx
jbe 0x421d9e
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileW]
jmp 0x421d60
mov eax, dword [0x81cc80]
mov dword [esp + 0x10], eax
mov eax, 0xa231
add dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + esi]
mov eax, dword [0x81a80c]
mov byte [eax + esi], dl
cmp dword [0x81cc7c], 0x5ab
jne 0x421d95
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x81cc7c]
jb 0x421d60
call fcn.00421a00
call fcn.00421140
call fcn.00421b30
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessTimes]
xor esi, esi
cmp dword [0x81cc7c], 0x41
jne 0x421dc5
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
cmp esi, 0xbd9cb
jne 0x421dd2
call fcn.00421130
inc esi
cmp esi, 0x15a63d
jl 0x421db5
mov ebx, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_GetClassLongA]
xor esi, esi
push 0
push 0
call edi
cmp esi, 0x1abd1
jle 0x421dfd
cmp ebx, 0xf5bed7
jne 0x421e06
inc esi
cmp esi, 0x1ebf3812
jl 0x421de7
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov edi, dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov dword [esp + 0x14], 0x1519a5
mov ebx, 0x8e46a6f0
nop
cmp dword [0x81cc7c], 0x3dc
mov dword [0x81c8ec], ebx
jne 0x421e4d
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x24], ecx
call esi
push 0
push 0
push 0
push 0
call edi
dec dword [esp + 0x14]
jne 0x421e20
mov ecx, dword [esp + 0xd04]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret