Function at 0x419840
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x41d981
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 0x41988c
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 [0x8e3264], 0x6fb
jne 0x4198e5
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 0x419907
cmp dword [esp + 0x18], 0xc08e62
je 0x419907
cmp dword [esp + 0xf0], 0x9067428
jne 0x419919
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 0x7e7fd
jl 0x419879
jmp 0x419947
cmp dword [0x8e3264], 0x28
jne 0x419947
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 [0x8e3264], 0xcf8
jne 0x419e2c
push 0x4040c4
push ebx
call fcn.0040a46d
push ebx
push ebx
push ebx
push 0x438e28
call fcn.00409e68
push ebx
call fcn.0040a303
add esp, 0x1c
push ebx
push ebx
call fcn.0041909e
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.0040a713
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x419a84
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 0x419a79
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x20]
call fcn.0040903d
jmp 0x419a86
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.00405440
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 0x419b0b
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409015
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x419ae9
cmp eax, 0xffffffff
jae 0x419ae9
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 0x419b0b
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 0x419b51
mov eax, dword [esp + 0xa8]
or eax, 4
and eax, 0x17
mov dword [esp + 0xa8], eax
test dword [esp + 0xac], eax
je 0x419b51
push ebx
lea ecx, [esp + 0xa0]
call fcn.00405360
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.0040a704
add esp, 4
call fcn.00409781
push ebx
call fcn.0040a456
add esp, 4
push ebx
push ebx
call fcn.0040a606
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040a173
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 0x419c38
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
push eax
call fcn.0040a5b5
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 0x419cde
mov edi, dword [eax]
cmp edi, ebx
je 0x419cd0
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409015
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x419cae
cmp eax, 0xffffffff
jae 0x419cae
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 0x419cd0
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.0040a5b5
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 0x419d62
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
push eax
call fcn.0040a5b5
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 0x419e15
mov edi, dword [eax]
cmp edi, ebx
je 0x419e0c
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409015
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x419dea
cmp eax, 0xffffffff
jae 0x419dea
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 0x419e0c
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebp
call fcn.0040a5b5
add esp, 4
lea ecx, [esp + 0xe8]
mov dword [esp + 0xd38], 0xffffffff
call fcn.0040906e
mov eax, 0x5d1
add dword [0x8e3264], eax
mov eax, dword [0x8e3264]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x8e1a5c], eax
mov eax, dword [0x8e3264]
xor edi, edi
cmp eax, ebx
jbe 0x419ed0
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
cmp eax, 0xfe
jne 0x419ea6
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.00419270
mov eax, dword [0x8e3264]
cmp eax, 0x29
jne 0x419ecb
push ebx
lea ecx, [esp + 0x130]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x8e3264]
inc edi
cmp edi, eax
jb 0x419e60
cmp eax, 0x70
jne 0x419ee2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov eax, dword [0x8e3264]
mov esi, dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov edi, 0x9682ab
lea ecx, [ecx]
cmp eax, 3
jne 0x419efd
push ebx
call esi
mov eax, dword [0x8e3264]
dec edi
jne 0x419ef0
mov esi, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ebp, 0x25887
mov edi, 0xabebc05c
mov dword [0x8e1a64], edi
cmp eax, 0x222
jne 0x419f32
push ebx
push ebx
push ebx
push 0x404120
push 0x404134
push ebx
call esi
mov eax, dword [0x8e3264]
dec ebp
jne 0x419f10
mov byte [0x438e28], bl
call fcn.00419170
call fcn.00419600
mov edi, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalUnlock]
xor esi, esi
cmp dword [0x8e3264], 0xba
jne 0x419f6c
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 0x419f85
mov eax, 0x286a
add dword [0x8e1a5c], eax
inc esi
cmp esi, 0x1605a
jl 0x419f53
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 0x419fb0
cmp dword [0x8e3264], 0x85
jne 0x419fd8
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 0x419fb0
mov eax, 0x73
mov ecx, 0x6d
mov word [0x8e326a], ax
mov word [0x8e326e], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0x8e3272], dx
mov word [0x8e327e], cx
mov word [0x8e3270], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0x8e3268
mov dword [0x8e3278], 0x6c0064
mov word [0x8e326c], cx
mov word [0x8e3268], dx
mov word [0x8e327c], ax
mov dword [0x8e3274], 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