Function at 0x4137f5
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x4db653
call fcn.004d0500
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x80], ebx
mov dword [ebp - 0x2c], esi
je 0x41381b
xor eax, eax
inc eax
jmp 0x413e1e
inc dword [esi + 0x58]
mov eax, dword [esi + 0x58]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
call fcn.00412d14
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.0048b0d6
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00412c13
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x413866
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4edf0c
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0048b0d6
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00412c13
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x413896
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.0048b0d6
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.0048b0d6
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00412c13
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x4138e3
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.0048b0d6
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00412c68
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413917
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.0048b0d6
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00412c68
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41394f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add esi, 0x5c
push esi
lea ecx, [ebp - 0x48]
call dword [0x4ea4ec]
mov esi, eax
push str.PeerID
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0048b0d6
push esi
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0048ab69
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x413990
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call dword [0x4ea4f8]
mov edi, dword [ebp + 8]
mov esi, str.Country
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0048b0d6
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0048ae8b
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0048b0d6
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00412c68
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x4139ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x4139fe
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.0048b0d6
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0048ae8b
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048b0d6
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00412c13
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x413a4a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413a5b
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.0048b0d6
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0048ae8b
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048b0d6
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00412c13
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x413aa7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413ab8
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.0048b0d6
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0048ae8b
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048b0d6
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00412c13
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x413b04
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413b15
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x4ede9c
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0048b0d6
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0048ae8b
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048b0d6
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00412c13
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x11
je 0x413b61
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413b72
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.0048b0d6
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0048ae8b
mov byte [ebp + 0xb], al
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048b0d6
lea ecx, [ebp + 0xb]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00412cbf
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x13
je 0x413bbe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413bcf
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.0048b0d6
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.0048ae8b
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048b0d6
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00412c13
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x15
pop edi
je 0x413c1c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413c2d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
call fcn.00412d14
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.0048b0d6
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00412c13
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x413c71
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x4edf0c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0048b0d6
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.00412c13
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x413ca2
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.0048b0d6
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.0048b0d6
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1b
call fcn.00412c13
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x413cef
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.0048b0d6
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1c
call fcn.00412c68
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x413d23
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.0048b0d6
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1d
call fcn.00412c68
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x413d5b
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.0048b0d6
lea ecx, [ebp + 0xb]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.00412cbf
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x413d8f
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.0048b0d6
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.00412c13
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 0x1a
je 0x413dc3
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.004129ec
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x413dea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x413dfb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x413e0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x413e1c
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