Function at 0x41707b
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x4dd3a2
call fcn.004d1ec0
sub esp, 0x40
push ebx
xor ebx, ebx
cmp dword [ecx + 0x80], ebx
mov dword [ebp - 0x28], ecx
je 0x41709e
xor eax, eax
inc eax
jmp 0x41754c
inc dword [ecx + 0x58]
mov eax, dword [ecx + 0x58]
push esi
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.00416a78
mov esi, str.ProtocolVersion
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], 0xa
call fcn.0048cec7
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00416977
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x4170ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4f02bc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.0048cec7
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00416977
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x41711c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.body
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0048cec7
mov edi, str.ClientVersion
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], 0x48
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00416977
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41716a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.CompressFlag
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], ebx
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004169cc
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41719e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.CommandID
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], 0xb
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004169cc
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x4171d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
add eax, 0x5c
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [ebp - 0x30], eax
push str.PeerID
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0048cec7
push dword [ebp - 0x30]
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0048c955
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x41721d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x18]
call fcn.00416a78
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
mov dword [ebp - 0x30], 0xa
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00416977
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x41726a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4f02bc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0048cec7
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00416977
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x41729b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.body
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.0048cec7
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x30], 0x48
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00416977
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
pop edi
mov byte [ebp - 4], 0xc
pop esi
je 0x4172e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.CompressFlag
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004169cc
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x41731a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.CommandID
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], 0xc
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.004169cc
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x417352
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.Result
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xd], bl
call fcn.0048cec7
lea ecx, [ebp - 0xd]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00416a23
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x417386
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.Country
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.004169cc
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x4173ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.Province
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00416977
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x4173ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.City
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00416977
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x417422
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.District
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00416977
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x417456
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4f024c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.00416977
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x41748a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.Special_Flag
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xd], bl
call fcn.0048cec7
lea ecx, [ebp - 0xd]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00416a23
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x4174be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.Dispatch_ID
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
call fcn.0048cec7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.00416977
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x4174f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ecx + 8]
push eax
call fcn.00416750
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x417518
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x417529
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x417539
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x41754a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret