Function at 0x413867
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x4dbe58
call fcn.004d1d50
sub esp, 0x40
push ebx
xor ebx, ebx
cmp dword [ecx + 0x80], ebx
mov dword [ebp - 0x28], ecx
je 0x41388a
xor eax, eax
inc eax
jmp 0x413d38
inc dword [ecx + 0x58]
mov eax, dword [ecx + 0x58]
push esi
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.00413264
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.0048d7e7
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00413163
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x4138d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4eef94
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.0048d7e7
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00413163
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x413908
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.0048d7e7
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.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00413163
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413956
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.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004131b8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41398a
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.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004131b8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x4139c2
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.0048d7e7
push dword [ebp - 0x30]
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0048d435
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x413a09
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.00413264
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
mov dword [ebp - 0x30], 0xa
call fcn.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00413163
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x413a56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4eef94
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0048d7e7
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00413163
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x413a87
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.0048d7e7
push edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x30], 0x48
call fcn.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00413163
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
pop edi
mov byte [ebp - 4], 0xc
pop esi
je 0x413ad2
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.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004131b8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x413b06
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.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.004131b8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x413b3e
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.0048d7e7
lea ecx, [ebp - 0xd]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.0041320f
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x413b72
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.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.004131b8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x413ba6
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.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00413163
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x413bda
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.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00413163
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x413c0e
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.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00413163
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x413c42
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4eef24
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
call fcn.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.00413163
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x413c76
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.0048d7e7
lea ecx, [ebp - 0xd]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.0041320f
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x413caa
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.0048d7e7
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.00413163
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x413cde
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.00412f3c
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x413d04
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413d15
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x413d25
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x413d36
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