Function at 0x452680
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dd4fa
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x790f00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x114], esi
xorps xmm0, xmm0
mov dword [ebp - 0x110], esi
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0
call fcn.0055d1f0
mov edi, eax
test edi, edi
je 0x4531cf
push str.https:__ipinfo.io_json
push 0x2712
push edi
call fcn.00560ae0
push 0x451570
push 0x4e2b
push edi
call fcn.00560ae0
lea eax, [ebp - 0x44]
push eax
push 0x2711
push edi
call fcn.00560ae0
push 0
push 0x40
push edi
call fcn.00560ae0
push edi
call fcn.0055d250
push edi
mov esi, eax
call fcn.0055d1b0
add esp, 0x38
test esi, esi
jne 0x453033
push esi
push 1
sub esp, 0x28
mov byte [ebp - 4], 1
mov eax, esp
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x24]
mov dword [eax + 0x24], esi
call fcn.0048c800
add esp, 0x30
push 0xb0
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 2
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0xf4]
call fcn.00484620
mov edx, str.IP_Address:
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe4]
call fcn.0048c920
push 0x77469c
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0048cc60
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.0048cdd0
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10c]
call fcn.004515d0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x4527d8
mov eax, dword [eax]
push edx
mov edx, eax
mov ecx, esi
call fcn.004968f0
add esp, 4
mov edx, 0x774698
mov ecx, eax
call fcn.0048c920
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xf8]
cmp ecx, 7
jbe 0x452831
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x452827
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45287e
push ecx
push edx
call fcn.006db5f6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
cmp ecx, 0xf
jbe 0x45288e
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452884
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x452884
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov edx, str.City:
lea ecx, [ebp - 0xe4]
call fcn.0048c920
push str.city
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0048cc60
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.0048cdd0
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10c]
call fcn.004515d0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x4528db
mov eax, dword [eax]
push edx
mov edx, eax
mov ecx, esi
call fcn.004968f0
add esp, 4
mov edx, 0x774698
mov ecx, eax
call fcn.0048c920
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xf8]
cmp ecx, 7
jbe 0x452934
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45292a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452981
push ecx
push edx
call fcn.006db5f6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
cmp ecx, 0xf
jbe 0x452991
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452987
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x452987
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov edx, str.Region:
lea ecx, [ebp - 0xe4]
call fcn.0048c920
push str.region
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0048cc60
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.0048cdd0
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10c]
call fcn.004515d0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x4529de
mov eax, dword [eax]
push edx
mov edx, eax
mov ecx, esi
call fcn.004968f0
add esp, 4
mov edx, 0x774698
mov ecx, eax
call fcn.0048c920
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xf8]
cmp ecx, 7
jbe 0x452a37
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x452a2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452a84
push ecx
push edx
call fcn.006db5f6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
cmp ecx, 0xf
jbe 0x452a94
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452a8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x452a8a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov edx, str.Country:
lea ecx, [ebp - 0xe4]
call fcn.0048c920
push str.country
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0048cc60
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.0048cdd0
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10c]
call fcn.004515d0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x452ae1
mov eax, dword [eax]
push edx
mov edx, eax
mov ecx, esi
call fcn.004968f0
add esp, 4
mov edx, 0x774698
mov ecx, eax
call fcn.0048c920
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xf8]
cmp ecx, 7
jbe 0x452b3a
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x452b30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452b87
push ecx
push edx
call fcn.006db5f6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
cmp ecx, 0xf
jbe 0x452b97
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452b8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x452b8d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov edx, 0x774710
lea ecx, [ebp - 0xe4]
call fcn.0048c920
push 0x77470c
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0048cc60
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.0048cdd0
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x10c]
call fcn.004515d0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x452be4
mov eax, dword [eax]
push edx
mov edx, eax
mov ecx, esi
call fcn.004968f0
add esp, 4
mov edx, 0x774698
mov ecx, eax
call fcn.0048c920
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xf8]
cmp ecx, 7
jbe 0x452c3d
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x452c33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452c8a
push ecx
push edx
call fcn.006db5f6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
cmp ecx, 0xf
jbe 0x452c9a
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452c90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x452c90
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov edx, 0x774720
lea ecx, [ebp - 0xe4]
call fcn.0048c920
push 0x77471c
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0048cc60
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.0048cdd0
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10c]
call fcn.004515d0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x452ce7
mov eax, dword [eax]
push edx
mov edx, eax
mov ecx, esi
call fcn.004968f0
add esp, 4
mov edx, 0x774698
mov ecx, eax
call fcn.0048c920
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xf8]
cmp ecx, 7
jbe 0x452d40
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x452d36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452d8d
push ecx
push edx
call fcn.006db5f6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
cmp ecx, 0xf
jbe 0x452d9d
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452d93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x452d93
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov edx, str.Timezone:
lea ecx, [ebp - 0xe4]
call fcn.0048c920
push str.timezone
lea ecx, [ebp - 0x24]
mov edi, eax
call fcn.0048cc60
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.0048cdd0
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x10c]
call fcn.004515d0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 7
mov esi, dword [eax + 0x10]
jbe 0x452dea
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, edi
call fcn.004968f0
add esp, 4
mov edx, 0x774698
mov ecx, eax
call fcn.0048c920
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xf8]
cmp ecx, 7
jbe 0x452e43
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x452e39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452e90
push ecx
push edx
call fcn.006db5f6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
cmp ecx, 0xf
jbe 0x452ea0
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x452e96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x452e96
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov esi, dword [ebp - 0x130]
lea ecx, [ebp - 0xdc]
push esi
call fcn.00488630
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf8], eax
lea ecx, [ebp - 0xdc]
call fcn.00484570
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x24]
call fcn.00488880
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x4531b1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4531a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4531a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.Error_getting_IP:
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.004511e0
mov ecx, dword [ebp - 0x138]
mov byte [ebp - 4], 0x14
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.00486ab0
lea eax, [ebp - 0x2c]
mov ecx, 0x790f70
push eax
call fcn.00486b20
mov ecx, dword [0x790f84]
mov eax, ecx
mov edi, dword [0x790f80]
sub eax, edi
push 1
push 0x7744fc
cmp eax, 1
jb 0x452fda
lea eax, [edi + 1]
cmp ecx, 0xf
mov dword [0x790f80], eax
mov esi, 0x790f70
seta al
test al, al
cmovne esi, dword [0x790f70]
lea eax, [esi + edi]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi + 1], 0
jmp 0x452fec
push dword [ebp - 0x114]
mov ecx, 0x790f70
push 1
call fcn.0048fd00
mov ecx, dword [ebp - 0x110]
xorps xmm0, xmm0
push 0x12
push str.Error_parsing_JSON
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0048f810
lea ecx, [ebp - 0x2c]
call fcn.00451090
mov eax, 0x453020
ret
push 0x1b
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0x77478c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.004511e0
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov edi, dword [ebp - 0x2c]
mov esi, dword [0x790f80]
cmova edx, edi
mov eax, dword [0x790f84]
mov ecx, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0x110], esi
push ecx
push edx
cmp ecx, eax
ja 0x4530c1
cmp dword [0x790f84], 0xf
lea eax, [esi + ecx]
mov dword [0x790f80], eax
mov esi, 0x790f70
cmova esi, dword [0x790f70]
mov eax, dword [ebp - 0x110]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x110]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x4530d5
push dword [ebp - 0x114]
push ecx
mov ecx, 0x790f70
call fcn.0048fd00
mov edi, dword [ebp - 0x2c]
mov edx, dword [0x790f84]
mov eax, edx
mov ecx, dword [0x790f80]
sub eax, ecx
cmp eax, 1
jb 0x453109
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [0x790f80], eax
mov eax, 0x790f70
cmova eax, dword [0x790f70]
mov word [eax + ecx], 0xa
jmp 0x453122
push 1
push 0x7744fc
push dword [ebp - 0x114]
mov ecx, 0x790f70
push 1
call fcn.0048fd00
mov esi, dword [ebp - 0x130]
xorps xmm0, xmm0
push 0x1b
push str.Error_retrieving_IP_address
mov ecx, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0048f810
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x45317d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x453173
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452f3d
push ecx
push edi
call fcn.006db5f6
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x4531b1
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4531a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452f3d
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006daf70
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x774470
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0048f810
jmp 0x452f0b