Function at 0x413e2e
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x4db791
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 0x413e54
xor eax, eax
inc eax
jmp 0x41453d
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 0x413e9f
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 0x413ecf
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 0x413f1c
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 0x413f50
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.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 0x413f88
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 0x413fc9
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 0x414026
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x414037
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 0x414083
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x414094
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 0x4140e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x4140f1
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 0x41413d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41414e
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 0x41419a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x4141ab
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 0x4141f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x414208
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
je 0x414254
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x414265
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 0x4142a9
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 0x4142da
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 0x414327
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 0x41435b
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.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 0x414393
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 0x4143c7
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 0x4143fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x4eb79e
push esi
lea ecx, [ebp - 0x48]
call dword [0x4ea4e4]
mov edi, eax
push str.XML_CONFIG
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x20
call fcn.0048b0d6
push edi
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.0048ab3c
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0x20
je 0x41443e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1a
call dword [0x4ea4dc]
push esi
lea ecx, [ebp - 0x48]
call dword [0x4ea4e4]
mov edi, eax
push str.LOG_IMAGE
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x22
call fcn.0048b0d6
push edi
mov ecx, eax
mov byte [ebp - 4], 0x23
call fcn.0048ab3c
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0x22
pop edi
je 0x41448a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1a
call dword [0x4ea4dc]
push esi
lea ecx, [ebp - 0x48]
call dword [0x4ea4e4]
mov esi, eax
push str.BACKGROUND_IMAGE
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x24
call fcn.0048b0d6
push esi
mov ecx, eax
mov byte [ebp - 4], 0x25
call fcn.0048ab3c
mov eax, dword [ebp + 8]
cmp eax, ebx
mov byte [ebp - 4], 0x24
je 0x4144d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1a
call dword [0x4ea4dc]
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.004129ec
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x414509
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41451a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x41452a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x41453b
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