Function at 0x413d45
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x4dbf63
call fcn.004d1d50
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x80], ebx
mov dword [ebp - 0x2c], esi
je 0x413d6b
xor eax, eax
inc eax
jmp 0x41436e
inc dword [esi + 0x58]
mov eax, dword [esi + 0x58]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
call fcn.00413264
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.0048d7e7
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00413163
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x413db6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4eef94
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0048d7e7
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00413163
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x413de6
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.0048d7e7
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.0048d7e7
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00413163
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413e33
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.0048d7e7
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004131b8
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413e67
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], 0xb
call fcn.0048d7e7
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004131b8
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413e9f
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.0048d7e7
push esi
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0048d435
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x413ee0
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.0048d7e7
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0048d6eb
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0048d7e7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004131b8
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x413f3d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413f4e
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.0048d7e7
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0048d6eb
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048d7e7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00413163
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x413f9a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413fab
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.0048d7e7
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0048d6eb
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048d7e7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00413163
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x413ff7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x414008
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.0048d7e7
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0048d6eb
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048d7e7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00413163
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x414054
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x414065
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x4eef24
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0048d7e7
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0048d6eb
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048d7e7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00413163
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x11
je 0x4140b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x4140c2
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.0048d7e7
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0048d6eb
mov byte [ebp + 0xb], al
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048d7e7
lea ecx, [ebp + 0xb]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.0041320f
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x13
je 0x41410e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41411f
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.0048d7e7
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.0048d6eb
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048d7e7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00413163
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x15
pop edi
je 0x41416c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41417d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
call fcn.00413264
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.0048d7e7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00413163
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x4141c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4eef94
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0048d7e7
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.00413163
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x4141f2
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 str.ClientVersion
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1a
mov dword [ebp + 8], 0x48
call fcn.0048d7e7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1b
call fcn.00413163
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x41423f
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.0048d7e7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1c
call fcn.004131b8
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x414273
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], 0xc
call fcn.0048d7e7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1d
call fcn.004131b8
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x4142ab
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.0048d7e7
lea ecx, [ebp + 0xb]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.0041320f
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x4142df
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.0048d7e7
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.00413163
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x414313
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ecx + 0x2c]
push eax
call fcn.00412f3c
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x41433a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41434b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x41435b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x41436c
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