Function at 0x80bb50
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, 0xd1c
mov eax, dword [0x816004]
xor eax, esp
mov dword [esp + 0xd18], 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
cmp dword [0xc09b8c], 0xc31
jne 0x80bbb9
lea eax, [esp + 0x14]
push eax
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceLockStatusW]
push 0
call dword [sym.imp.KERNEL32.dll_LocalSize]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
lea edx, [esp + 0x30]
push edx
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 0x80bbe5
inc esi
cmp esi, 0x3661b338
jl 0x80bb7b
jmp 0x80bbf8
cmp dword [0xc09b8c], 0xa
jne 0x80bbf8
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 0x80bc14
mov eax, dword [0x817bcc]
mov dword [0xc09b90], eax
cmp dword [0xc09b8c], 0x3c
jne 0x80bc20
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x80bc02
cmp dword [0xc09b8c], 0x7c
jne 0x80bcad
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 + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push str.kuwuronivudux
call dword [sym.imp.KERNEL32.dll_AddAtomA]
lea edx, [esp + 0x520]
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 [0xc09b8c], 0x2d
jne 0x80bc95
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x814308
push 0x818b78
call fcn.004013a8
push ebx
call fcn.00401229
add esp, 0xc
cmp dword [0xc09b8c], 0x110a
jne 0x80bd03
push ebx
push ebx
lea eax, [esp + 0x78]
push eax
mov dword [0xc097f8], ebx
mov dword [0xc097fc], 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.004010e7
push ebx
call fcn.00401166
add esp, 0xc
push ebx
push ebx
call fcn.004010e7
push ebx
push ebx
call fcn.004010e7
push ebx
call fcn.00401391
add esp, 0x14
call fcn.0080b100
xor esi, esi
cmp dword [0xc09b8c], ebx
jbe 0x80bd60
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileA]
jmp 0x80bd20
mov ecx, dword [0xc09b90]
mov dword [esp + 0x10], ecx
mov eax, 0xa231
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov al, byte [edx + esi]
mov ecx, dword [0xc0770c]
mov byte [ecx + esi], al
cmp dword [0xc09b8c], 0x5ab
jne 0x80bd57
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0xc09b8c]
jb 0x80bd20
call fcn.0080b9f0
call fcn.0080b130
call fcn.0080bae0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
xor esi, esi
cmp dword [0xc09b8c], 0x41
jne 0x80bd85
push ebx
push ebx
push ebx
call edi
cmp esi, 0xbd9cb
jne 0x80bd92
call fcn.0080b120
inc esi
cmp esi, 0x15a63d
jl 0x80bd77
mov ebx, dword [esp + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetClassLongW]
xor esi, esi
push 0
push 0
call edi
cmp esi, 0x1abc7
jle 0x80bdbd
cmp ebx, 0xf5bed7
jne 0x80bdc6
inc esi
cmp esi, 0x1ebc2ad2
jl 0x80bda7
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov edi, dword [sym.imp.ADVAPI32.dll_AccessCheckByType]
mov dword [esp + 0x14], 0x1519a5
mov ebx, dword [esp + 0x14]
mov edi, edi
cmp dword [0xc09b8c], 0x3dc
mov dword [0xc097f4], 0x8e46a6f0
jne 0x80be27
xor edx, edx
lea ecx, [esp + 0x1c]
push ecx
push edx
push edx
push edx
push edx
mov dword [esp + 0x24], edx
call esi
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0
push 0
push edx
push 0
push 0
push 0
push 0
call edi
dec dword [esp + 0x14]
jne 0x80bde0
mov ecx, dword [esp + 0xd24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004010d8
mov esp, ebp
pop ebp
ret