Function at 0x417b92
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x4dd5eb
call fcn.004d1ec0
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x80], ebx
mov dword [ebp - 0x2c], esi
je 0x417bb8
xor eax, eax
inc eax
jmp 0x4182a1
inc dword [esi + 0x58]
mov eax, dword [esi + 0x58]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
call fcn.00416a78
push str.ProtocolVersion
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], 0xa
call fcn.0048cec7
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00416977
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x417c03
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4f02bc
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0048cec7
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00416977
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x417c33
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.body
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0048cec7
push str.ClientVersion
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 0x48
call fcn.0048cec7
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00416977
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x417c80
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.CompressFlag
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], ebx
call fcn.0048cec7
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004169cc
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x417cb4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.CommandID
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], 0xd
call fcn.0048cec7
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004169cc
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x417cec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add esi, 0x5c
push esi
lea ecx, [ebp - 0x48]
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 esi, eax
push str.PeerID
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0048cec7
push esi
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0048c955
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x417d2d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
lea ecx, [ebp - 0x48]
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_]
mov edi, dword [ebp + 8]
mov esi, str.Country
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0048cec7
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0048cc7c
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0048cec7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004169cc
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x417d8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x417d9b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, str.Province
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0048cec7
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0048cc7c
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048cec7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00416977
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x417de7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x417df8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, str.City
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0048cec7
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0048cc7c
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048cec7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00416977
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x417e44
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x417e55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, str.District
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0048cec7
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0048cc7c
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048cec7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00416977
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x417ea1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x417eb2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x4f024c
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0048cec7
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0048cc7c
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048cec7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00416977
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x11
je 0x417efe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x417f0f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, str.Special_Flag
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0048cec7
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0048cc7c
mov byte [ebp + 0xb], al
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048cec7
lea ecx, [ebp + 0xb]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00416a23
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x13
je 0x417f5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x417f6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, str.Dispatch_ID
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0048cec7
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.0048cc7c
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048cec7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00416977
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x15
je 0x417fb8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x417fc9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
call fcn.00416a78
push str.ProtocolVersion
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x17
mov dword [ebp + 8], 0xa
call fcn.0048cec7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00416977
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x41800d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4f02bc
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0048cec7
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.00416977
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x41803e
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 str.ClientVersion
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1a
mov dword [ebp + 8], 0x48
call fcn.0048cec7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1b
call fcn.00416977
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x41808b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.CompressFlag
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp + 8], ebx
call fcn.0048cec7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1c
call fcn.004169cc
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x4180bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.CommandID
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp + 8], 0xe
call fcn.0048cec7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1d
call fcn.004169cc
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x4180f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.Result
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp + 0xb], bl
call fcn.0048cec7
lea ecx, [ebp + 0xb]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.00416a23
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x41812b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.Version
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp + 8], ebx
call fcn.0048cec7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.00416977
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x41815f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x4ed79d
push esi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edi, eax
push str.XML_CONFIG
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x20
call fcn.0048cec7
push edi
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.0048c928
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0x20
je 0x4181a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1a
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edi, eax
push str.LOG_IMAGE
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x22
call fcn.0048cec7
push edi
mov ecx, eax
mov byte [ebp - 4], 0x23
call fcn.0048c928
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0x22
pop edi
je 0x4181ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1a
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov esi, eax
push str.BACKGROUND_IMAGE
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x24
call fcn.0048cec7
push esi
mov ecx, eax
mov byte [ebp - 4], 0x25
call fcn.0048c928
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0x24
je 0x418239
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1a
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
lea eax, [ecx + 0x2c]
push eax
call fcn.00416750
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x41826d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41827e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x41828e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x41829f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4