Function at 0x45d7c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cadaf
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x654c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x1e8], edi
xorps xmm0, xmm0
mov dword [ebp - 0x17c], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov eax, bind
mov ecx, dword [edx + 0x10]
sub eax, ecx
mov dword [ebp - 0x17c], 1
cmp eax, 0x16
jb 0x45e038
cmp dword [edx + 0x14], 0xf
jbe 0x45d856
mov edx, dword [edx]
push ecx
push edx
push 0x16
push str.http:__ip_api.com_xml_
push ecx
push dword [ebp - 0x1e8]
lea ecx, [ebp - 0xa0]
call fcn.00456cc0
mov dword [ebp - 0x17c], 3
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 2
call fcn.0048db40
mov esi, eax
test esi, esi
je 0x45d901
cmp dword [ebp - 0x8c], 0xf
lea eax, [ebp - 0xa0]
cmova eax, dword [ebp - 0xa0]
push eax
push 0x2712
push esi
call fcn.00491b10
push 0x45cec0
push 0x4e2b
push esi
call fcn.00491b10
lea eax, [ebp - 0x88]
push eax
push 0x2711
push esi
call fcn.00491b10
push esi
call fcn.0048dbe0
push esi
call fcn.0048db20
add esp, 0x2c
push 0xc8
lea eax, [ebp - 0x174]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x174]
call fcn.005c23c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 0xf
lea ecx, [ebp - 0x174]
push 0x74
cmova eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.005c30e0
lea ecx, [ebp - 0xac]
call fcn.005c24e0
test al, al
je 0x45dfea
push str.query
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x174]
call fcn.005c2850
push str.country
lea ecx, [ebp - 0x1ec]
push ecx
mov ecx, eax
call fcn.005c2850
lea ecx, [ebp - 0x1f0]
push ecx
mov ecx, eax
call fcn.005c56c0
mov ecx, eax
call fcn.005c2c20
mov edx, eax
mov dword [ebp - 0x60], 0
mov ecx, edx
mov dword [ebp - 0x5c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45d9c0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00456320
push str.query
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x174]
call fcn.005c2850
push str.regionName
lea ecx, [ebp - 0x1f8]
push ecx
mov ecx, eax
call fcn.005c2850
lea ecx, [ebp - 0x180]
push ecx
mov ecx, eax
call fcn.005c56c0
mov ecx, eax
call fcn.005c2c20
mov edx, eax
mov dword [ebp - 0x48], 0
mov ecx, edx
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45da32
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00456320
push str.query
lea eax, [ebp - 0x1f0]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x174]
call fcn.005c2850
push 0x640cec
lea ecx, [ebp - 0x1ec]
push ecx
mov ecx, eax
call fcn.005c2850
lea ecx, [ebp - 0x178]
push ecx
mov ecx, eax
call fcn.005c56c0
mov ecx, eax
call fcn.005c2c20
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45daa4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00456320
push str.query
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x174]
call fcn.005c2850
push 0x640cf0
lea ecx, [ebp - 0x1f8]
push ecx
mov ecx, eax
call fcn.005c2850
lea ecx, [ebp - 0x1f4]
push ecx
mov ecx, eax
call fcn.005c56c0
mov ecx, eax
call fcn.005c2c20
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45db16
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00456320
mov byte [ebp - 4], 7
mov eax, bind
mov ecx, dword [ebp - 0x60]
sub eax, ecx
cmp eax, 2
jb 0x45e03d
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
push 2
cmova eax, dword [ebp - 0x70]
push 0x640cf4
push ecx
push eax
push ecx
push dword [ebp - 0x180]
lea ecx, [ebp - 0x210]
call fcn.00456cc0
mov dword [ebp - 0x17c], 7
mov byte [ebp - 4], 8
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
mov eax, dword [ebp - 0x1fc]
cmova edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x200]
sub eax, esi
mov ecx, dword [ebp - 0x48]
push ecx
push edx
cmp ecx, eax
ja 0x45dbcd
cmp dword [ebp - 0x1fc], 0xf
lea eax, [ecx + esi]
mov dword [ebp - 0x200], eax
lea eax, [ebp - 0x210]
cmova eax, dword [ebp - 0x210]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov byte [eax + esi], 0
lea eax, [ebp - 0x210]
jmp 0x45dbe6
mov byte [ebp - 0x178], 0
push dword [ebp - 0x178]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00456190
mov dword [ebp - 0x1d4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1e4], xmm0
mov dword [ebp - 0x1d0], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x17c], 0xf
movups xmmword [ebp - 0x1e4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1d4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 9
mov esi, 0x202c
mov edx, dword [ebp - 0x1d0]
mov eax, edx
mov ecx, dword [ebp - 0x1d4]
sub eax, ecx
cmp eax, 2
jb 0x45dc7e
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x1e4]
cmova eax, dword [ebp - 0x1e4]
mov word [eax + ecx], si
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x1e4]
jmp 0x45dc9f
push 2
push 0x640cf4
mov byte [ebp - 0x178], 0
lea ecx, [ebp - 0x1e4]
push dword [ebp - 0x178]
push 2
call fcn.00456190
mov dword [ebp - 0x1a4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1a0], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x17c], 0x1f
movups xmmword [ebp - 0x1b4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1a4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
mov esi, dword [ebp - 0x1a4]
cmova edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x30]
sub eax, esi
mov dword [ebp - 0x178], esi
push ecx
push edx
cmp ecx, eax
ja 0x45dd60
cmp dword [ebp - 0x1a0], 0xf
lea eax, [ecx + esi]
mov dword [ebp - 0x1a4], eax
lea esi, [ebp - 0x1b4]
cmova esi, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x178]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov ecx, dword [ebp - 0x178]
add eax, esi
mov byte [eax + ecx], 0
lea eax, [ebp - 0x1b4]
jmp 0x45dd79
mov byte [ebp - 0x178], 0
push dword [ebp - 0x178]
push ecx
lea ecx, [ebp - 0x1b4]
call fcn.00456190
mov dword [ebp - 0x1bc], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1cc], xmm0
mov dword [ebp - 0x1b8], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x17c], 0x3f
movups xmmword [ebp - 0x1cc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1bc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x1b8]
mov eax, edx
mov ecx, dword [ebp - 0x1bc]
sub eax, ecx
cmp eax, 2
jb 0x45de11
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0x1bc], eax
mov edx, 0x202c
lea eax, [ebp - 0x1cc]
cmova eax, dword [ebp - 0x1cc]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x1cc]
jmp 0x45de32
push 2
push 0x640cf4
mov byte [ebp - 0x178], 0
lea ecx, [ebp - 0x1cc]
push dword [ebp - 0x178]
push 2
call fcn.00456190
mov dword [ebp - 0x18c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x19c], xmm0
mov dword [ebp - 0x188], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x17c], 0x7f
movups xmmword [ebp - 0x19c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
mov esi, dword [ebp - 0x18c]
cmova edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x18]
sub eax, esi
mov dword [ebp - 0x178], esi
push ecx
push edx
cmp ecx, eax
ja 0x45def3
cmp dword [ebp - 0x188], 0xf
lea eax, [ecx + esi]
mov dword [ebp - 0x18c], eax
lea esi, [ebp - 0x19c]
cmova esi, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x178]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x178]
add eax, esi
mov byte [eax + ecx], 0
lea eax, [ebp - 0x19c]
jmp 0x45df0c
mov byte [ebp - 0x178], 0
push dword [ebp - 0x178]
push ecx
lea ecx, [ebp - 0x19c]
call fcn.00456190
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x238], xmm0
movups xmmword [ebp - 0x228], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x228]
movq qword [ebp - 0x184], xmm0
movq qword [ebp - 0x218], xmm0
cmp edi, eax
je 0x45df86
mov ecx, edi
call fcn.00455150
movups xmm0, xmmword [ebp - 0x238]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
movups xmmword [edi], xmm0
mov byte [ebp - 0x228], 0
movq xmm0, qword [ebp - 0x184]
movq qword [edi + 0x10], xmm0
lea ecx, [ebp - 0x228]
call fcn.00455150
lea ecx, [ebp - 0x19c]
call fcn.00455150
lea ecx, [ebp - 0x1cc]
call fcn.00455150
lea ecx, [ebp - 0x1b4]
call fcn.00455150
lea ecx, [ebp - 0x1e4]
call fcn.00455150
lea ecx, [ebp - 0x210]
call fcn.00455150
lea ecx, [ebp - 0x28]
call fcn.00455150
lea ecx, [ebp - 0x40]
call fcn.00455150
lea ecx, [ebp - 0x58]
call fcn.00455150
lea ecx, [ebp - 0x70]
call fcn.00455150
jmp 0x45dffa
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error_parsing_XML_n
call fcn.004559f0
lea ecx, [ebp - 0x174]
call fcn.005c24a0
lea ecx, [ebp - 0x88]
call fcn.00455150
lea ecx, [ebp - 0xa0]
call fcn.00455150
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c56ce
mov esp, ebp
pop ebp
ret
call fcn.0044e660
call fcn.0044e660
int3