Function at 0x419880
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x41d9c1
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 + 0x18], ebx
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.MSIMG32.dll_AlphaBlend]
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], 0x2c831
jge 0x4198cc
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 [0xa88f64], 0x6fb
jne 0x419925
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 0x404094
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
lea ecx, [esp + 0x13c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov eax, dword [esp + 0x1c]
cmp eax, 0x1e7d17d8
jle 0x419947
cmp dword [esp + 0x18], 0xc08e62
je 0x419947
cmp dword [esp + 0xf0], 0x9067428
jne 0x419959
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 0x7e7fd
jl 0x4198b9
jmp 0x419987
cmp dword [0xa88f64], 0x28
jne 0x419987
push ebx
lea edx, [esp + 0x1c]
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 [0xa88f64], 0xcf8
jne 0x419e6c
push 0x4040c4
push ebx
call fcn.0040a56d
push ebx
push ebx
push ebx
push 0x5deb28
call fcn.00409f68
push ebx
call fcn.0040a403
add esp, 0x1c
push ebx
push ebx
call fcn.00409d5b
add esp, 8
lea ecx, [esp + 0xe4]
push ecx
call fcn.004064e0
mov dword [esp + 0xe4], 0x404294
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], 0x4042d8
mov dword [esp + 0x4c], 0x4042e0
mov byte [esp + 0xd38], 3
mov ebp, 6
push 4
mov dword [esp + 0x20], eax
mov dword [esp + 0xa0], 0x40427c
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.0040a813
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x419ac4
call fcn.00408e4f
mov dword [esi], eax
call fcn.00408c0e
push ebx
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00409015
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x419ab9
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x20]
call fcn.0040903d
jmp 0x419ac6
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.00408340
mov byte [esp + 0xd38], 5
mov edi, dword [esp + 0x24]
mov ebp, eax
cmp edi, ebx
je 0x419b4b
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409015
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x419b29
cmp eax, 0xffffffff
jae 0x419b29
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.0040903d
cmp esi, ebx
je 0x419b4b
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 0x419b91
mov eax, dword [esp + 0xa8]
or eax, 4
and eax, 0x17
mov dword [esp + 0xa8], eax
test dword [esp + 0xac], eax
je 0x419b91
push ebx
lea ecx, [esp + 0xa0]
call fcn.00405380
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x4c], 0x404284
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x3c], 0x40428c
mov dword [esp + 0xd38], 9
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x54]
mov esi, 0x4042d4
push eax
mov dword [esp + edx + 0x40], esi
call fcn.004064e0
mov edi, 0x404294
mov dword [esp + 0x54], edi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
push 0x4040d0
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0xd40], 0xb
call fcn.00405650
push 0x4040d4
lea edx, [esp + 0x50]
push edx
call fcn.00405650
push ebx
call fcn.0040a804
add esp, 4
call fcn.00409781
push ebx
call fcn.0040a556
add esp, 4
push ebx
push ebx
call fcn.0040a706
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a273
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 + 0x20], eax
mov dword [esp + 0x54], edi
je 0x419c78
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
push eax
call fcn.0040a6b5
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], 0x40423c
mov byte [esp + 0xd38], 0xd
mov eax, dword [esp + 0x8c]
mov ebp, eax
cmp eax, ebx
je 0x419d1e
mov edi, dword [eax]
cmp edi, ebx
je 0x419d10
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409015
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x419cee
cmp eax, 0xffffffff
jae 0x419cee
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.0040903d
cmp esi, ebx
je 0x419d10
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.0040a6b5
add esp, 4
mov edi, 0x404294
lea ecx, [esp + 0x58]
mov byte [esp + 0xd38], 0xc
call fcn.0040906e
mov byte [esp + 0xd38], 2
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x3c], 0x40428c
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x4c], 0x404284
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x9c]
mov dword [esp + eax + 0x3c], 0x40427c
push ecx
mov dword [esp + 0xa0], 0x404230
call fcn.00408b44
add esp, 4
test byte [esp + 0x124], 1
mov dword [esp + 0xe4], edi
je 0x419da2
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
push eax
call fcn.0040a6b5
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], 0x40423c
mov dword [esp + 0xd38], 0xe
mov eax, dword [esp + 0x11c]
mov ebp, eax
cmp eax, ebx
je 0x419e55
mov edi, dword [eax]
cmp edi, ebx
je 0x419e4c
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409015
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x419e2a
cmp eax, 0xffffffff
jae 0x419e2a
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.0040903d
cmp esi, ebx
je 0x419e4c
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call fcn.0040a6b5
add esp, 4
lea ecx, [esp + 0xe8]
mov dword [esp + 0xd38], 0xffffffff
call fcn.0040906e
mov eax, 0x5d1
add dword [0xa88f64], eax
mov eax, dword [0xa88f64]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0xa8775c], eax
mov eax, dword [0xa88f64]
xor edi, edi
cmp eax, ebx
jbe 0x419f10
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
cmp eax, 0xfe
jne 0x419ee6
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x12c]
push ecx
push 0x4040d8
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 0x4040f0
mov dword [esp + 0x34], ebx
call ebp
call fcn.004192b0
mov eax, dword [0xa88f64]
cmp eax, 0x29
jne 0x419f0b
push ebx
lea ecx, [esp + 0x130]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0xa88f64]
inc edi
cmp edi, eax
jb 0x419ea0
cmp eax, 0x70
jne 0x419f22
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov eax, dword [0xa88f64]
mov esi, dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov edi, 0x9682ab
lea ecx, [ecx]
cmp eax, 3
jne 0x419f3d
push ebx
call esi
mov eax, dword [0xa88f64]
dec edi
jne 0x419f30
mov esi, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ebp, 0x25887
mov edi, 0xabebc05c
mov dword [0xa87764], edi
cmp eax, 0x222
jne 0x419f72
push ebx
push ebx
push ebx
push 0x404120
push 0x404134
push ebx
call esi
mov eax, dword [0xa88f64]
dec ebp
jne 0x419f50
mov byte [0x5deb28], bl
call fcn.004191b0
call fcn.00419640
mov edi, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalUnlock]
xor esi, esi
cmp dword [0xa88f64], 0xba
jne 0x419fac
push 0x404148
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push ebx
call edi
push ebx
call ebp
cmp esi, 0x2f64
jne 0x419fc5
mov eax, 0
add dword [0xa8775c], eax
inc esi
cmp esi, 0x1605a
jl 0x419f93
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 + 0x1c], 0x1e6dcb
jmp 0x419ff0
cmp dword [0xa88f64], 0x85
jne 0x41a018
push ebx
call esi
push ebx
call edi
push ebx
push ebx
push ebx
call ebp
push ebx
push ebx
lea edx, [esp + 0x534]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
dec dword [esp + 0x1c]
jne 0x419ff0
mov eax, 0x73
mov ecx, 0x6d
mov word [0xa88f6a], ax
mov word [0xa88f6e], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0xa88f72], dx
mov word [0xa88f7e], cx
mov word [0xa88f70], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0xa88f68
mov dword [0xa88f78], 0x6c0064
mov word [0xa88f6c], cx
mov word [0xa88f68], dx
mov word [0xa88f7c], ax
mov dword [0xa88f74], 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