Function at 0x421c70
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 0x421cd1
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 0x421cf8
inc esi
cmp esi, 0x3661b338
jl 0x421c9b
jmp 0x421d0b
cmp dword [0x81cc7c], 0xa
jne 0x421d0b
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 0x421d29
mov edx, dword [0x42abcc]
mov dword [0x81cc80], edx
cmp dword [0x81cc7c], 0x3c
jne 0x421d35
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x421d15
cmp dword [0x81cc7c], 0x7c
jne 0x421db7
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 0x421d9f
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 0x421e13
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.004211e0
xor esi, esi
cmp dword [0x81cc7c], ebx
jbe 0x421e6e
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileW]
jmp 0x421e30
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 0x421e65
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x81cc7c]
jb 0x421e30
call fcn.00421ad0
call fcn.00421210
call fcn.00421c00
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessTimes]
xor esi, esi
cmp dword [0x81cc7c], 0x41
jne 0x421e95
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
cmp esi, 0xbd9cb
jne 0x421ea2
call fcn.00421200
inc esi
cmp esi, 0x15a63d
jl 0x421e85
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 0x421ecd
cmp ebx, 0xf5bed7
jne 0x421ed6
inc esi
cmp esi, 0x1ebf3812
jl 0x421eb7
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 0x421f1d
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 0x421ef0
mov ecx, dword [esp + 0xd04]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret