Function at 0x40b6b0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x470e49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1e4]
call fcn.00428cf0
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28c], ebx
call fcn.004152e0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x28c], 1
call fcn.004152e0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x28c], 2
call fcn.004152e0
lea ecx, [esp + 0x98]
mov byte [esp + 0x28c], 3
call fcn.004152e0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x28c], 4
call fcn.004152e0
lea ecx, [esp + 0x11c]
mov byte [esp + 0x28c], 5
call fcn.004152e0
lea ecx, [esp + 0x148]
mov byte [esp + 0x28c], 6
call fcn.004152e0
lea ecx, [esp + 0x40]
mov byte [esp + 0x28c], 7
call fcn.004152e0
lea ecx, [esp + 0x17c]
mov byte [esp + 0x28c], 8
call fcn.00418b00
mov eax, dword [esp + 0x2a0]
mov byte [esp + 0x28c], 9
mov dword [esp + 0xc], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x29c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x298]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x294]
cmp eax, ebx
jne 0x40b7d8
push str.www.googleapis.com
lea ecx, [esp + 0x70]
call fcn.00415970
push str._geolocation_v1_geolocate_keyAIzaSyBOti4mM_6x9WDnZIjIeyEU21OpBXqWBgw
jmp 0x40b7f4
cmp eax, 1
jne 0x40badf
push str.location.services.mozilla.com
lea ecx, [esp + 0x70]
call fcn.00415970
push str._v1_geolocate_key7a0e8dda_9feb_409f_a283_8ca51eae17d1
lea ecx, [esp + 0x9c]
call fcn.00415970
push ebp
push str._wifiAccessPoints_:_
lea ecx, [esp + 0x1c]
call fcn.00415970
add esi, 0xc8
mov ebp, 1
mov ecx, esi
mov dword [esp + 0x14], esi
call fcn.00418e00
mov ecx, esi
call fcn.00418eb0
mov edi, eax
cmp edi, ebx
je 0x40b8ee
cmp ebp, ebx
jne 0x40b848
push 0x48731c
lea ecx, [esp + 0x1c]
call fcn.00415880
lea eax, [esp + 0x44]
lea ecx, [edi + 0x38]
push eax
push ecx
mov ecx, 0x49b3c8
call fcn.00452bf0
mov ecx, 0x49a938
call fcn.00416550
test eax, eax
je 0x40b88c
push ebx
lea ecx, [esp + 0x48]
call fcn.00416510
push eax
mov ecx, 0x49a938
call fcn.00415a40
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xffffff92
add esi, 0xfffffff6
jmp 0x40b892
mov esi, dword [edi + 0x98]
push 0x2d
push 0x3a
lea ecx, [esp + 0x4c]
call fcn.00415f30
push esi
push ebx
lea ecx, [esp + 0x4c]
call fcn.00416510
push eax
lea edx, [esp + 0x154]
push str._macAddress_:__s___signalStrength_:_d
push edx
call fcn.00416930
add esp, 0x10
lea ecx, [esp + 0x14c]
push ebx
call fcn.00416510
push eax
lea ecx, [esp + 0x1c]
call fcn.00415880
mov ecx, edi
xor ebp, ebp
call fcn.00418fc0
mov edi, eax
cmp edi, ebx
jne 0x40b836
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00418e20
push 0x488364
lea ecx, [esp + 0x1c]
call fcn.00415880
push 0x4983e0
mov ecx, 0x49a938
call fcn.00415970
push 0x4983e0
lea ecx, [esp + 0xcc]
call fcn.00415970
push str.Content_Type:_application_json
lea ecx, [esp + 0xf8]
call fcn.00415970
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x40]
call fcn.00416550
push eax
push ebx
lea ecx, [esp + 0x48]
call fcn.004165c0
push eax
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x12c]
call fcn.00416510
push eax
push 0x488318
push 3
push 0x1bb
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x178]
push ebx
lea ecx, [esp + 0x124]
push eax
lea edx, [esp + 0xfc]
push ecx
lea eax, [esp + 0xd4]
push edx
push eax
lea ecx, [esp + 0x254]
call fcn.00429260
test eax, eax
pop ebp
je 0x40badf
push ebx
lea ecx, [esp + 0x120]
call fcn.004165c0
push eax
lea ecx, [esp + 0x178]
call fcn.004605d0
test eax, eax
je 0x40badf
lea ecx, [esp + 0x174]
call fcn.00460740
cmp eax, ebx
je 0x40badf
mov ecx, eax
call fcn.00460750
mov esi, eax
cmp esi, ebx
je 0x40badf
push str.accuracy
push esi
lea ecx, [esp + 0x17c]
call fcn.00460700
cmp eax, ebx
je 0x40ba36
mov ecx, dword [esp + 0x2a0]
push ecx
push 0x4870c4
push ebx
lea ecx, [eax + 0x40]
call fcn.00416510
push eax
call fcn.00461ecf
mov edi, 1
add esp, 0xc
cmp eax, edi
jne 0x40ba3b
mov dword [esp + 0xc], edi
jmp 0x40ba3b
mov edi, 1
push 0x4882f0
push esi
lea ecx, [esp + 0x17c]
call fcn.00460700
mov esi, eax
cmp esi, ebx
je 0x40badf
push 0x4882e8
mov ecx, esi
call fcn.00460750
push eax
lea ecx, [esp + 0x17c]
call fcn.00460700
cmp eax, ebx
je 0x40ba9b
mov edx, dword [esp + 0x29c]
lea ecx, [eax + 0x40]
push edx
push 0x4870c4
push ebx
call fcn.00416510
push eax
call fcn.00461ecf
add esp, 0xc
cmp eax, edi
jne 0x40ba9b
mov dword [esp + 0xc], edi
push 0x4882e0
mov ecx, esi
call fcn.00460750
push eax
lea ecx, [esp + 0x17c]
call fcn.00460700
cmp eax, ebx
je 0x40badf
mov ecx, dword [esp + 0x298]
push ecx
push 0x4870c4
push ebx
lea ecx, [eax + 0x40]
call fcn.00416510
push eax
call fcn.00461ecf
add esp, 0xc
cmp eax, edi
jne 0x40badf
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x174]
call fcn.00460670
lea ecx, [esp + 0x174]
mov byte [esp + 0x28c], 8
call fcn.004606b0
lea ecx, [esp + 0x40]
mov byte [esp + 0x28c], 7
call fcn.00415380
lea ecx, [esp + 0x148]
mov byte [esp + 0x28c], 6
call fcn.00415380
lea ecx, [esp + 0x11c]
mov byte [esp + 0x28c], 5
call fcn.00415380
lea ecx, [esp + 0xc4]
mov byte [esp + 0x28c], 4
call fcn.00415380
lea ecx, [esp + 0x98]
mov byte [esp + 0x28c], 3
call fcn.00415380
lea ecx, [esp + 0x6c]
mov byte [esp + 0x28c], 2
call fcn.00415380
lea ecx, [esp + 0xf0]
mov byte [esp + 0x28c], 1
call fcn.00415380
lea ecx, [esp + 0x14]
mov byte [esp + 0x28c], bl
call fcn.00415380
lea ecx, [esp + 0x24c]
mov dword [esp + 0x28c], 0xa
call fcn.004223f0
lea ecx, [esp + 0x1e4]
mov dword [esp + 0x28c], 0xffffffff
call fcn.00428c10
mov ecx, dword [esp + 0x284]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x284
ret 0x10