Function at 0x4db864
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4db86d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404780
xor eax, eax
push ebp
push 0x4dc0d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004db804
mov eax, dword [ebp + 8]
call fcn.004042d0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 2
je 0x4db8e0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x4db8e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24], 0
jne 0x4db8e0
push 0x4dc0f0
mov ecx, 1
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.004db3f4
jmp 0x4dc0b3
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4db91a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [0x4c2d88]
call fcn.00403628
test al, al
jne 0x4db91a
push 0x4dc114
mov ecx, 2
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.004db3f4
jmp 0x4dc0b3
xor ecx, ecx
mov dl, 1
mov eax, dword [0x48d8f4]
call fcn.0048db30
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4dc0ac
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, 0x4dc160
mov edx, 0x4dc170
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 8]
call fcn.0048e290
lea edx, [ebp - 0x28]
call fcn.00408ed0
mov ecx, dword [ebp - 0x28]
mov edx, 0x4dc184
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 8]
call fcn.0048e290
mov esi, eax
dec esi
test esi, esi
jl 0x4dba15
inc esi
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0048e24c
lea edx, [ebp - 0x2c]
call fcn.0048ce20
mov eax, dword [ebp - 0x2c]
push eax
push 0x4dc198
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.00408ed0
push dword [ebp - 0x34]
push 0x4dc1b0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404650
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
pop ecx
mov edi, dword [eax]
call dword [edi + 4]
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0048e24c
lea edx, [ebp - 0x38]
call fcn.0048ce70
mov eax, dword [ebp - 0x38]
push eax
push 0x4dc1bc
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00408ed0
push dword [ebp - 0x40]
push 0x4dc1b0
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404650
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
pop ecx
mov edi, dword [eax]
call dword [edi + 4]
inc ebx
dec esi
jne 0x4db981
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.00408ed0
mov ecx, dword [ebp - 0x44]
mov edx, 0x4dc1d0
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.00408ed0
mov ecx, dword [ebp - 0x48]
mov edx, 0x4dc1e4
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x4dba64
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 2
jne 0x4dba78
mov ecx, 0x4dc1f8
mov edx, 0x4dc210
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x4dbaaf
mov eax, ebx
mov edx, dword [0x4c2d88]
call fcn.00403628
test al, al
je 0x4dba9d
mov edx, 0x4dc210
mov ecx, 0x4dc220
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x4dbaaf
mov edx, 0x4dc210
mov ecx, 0x4dc234
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4dbce7
mov ecx, dword [eax + 4]
mov edx, 0x4dc250
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov edx, 0x4dc264
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, 0x4dc274
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x10]
mov eax, ebx
mov edx, dword [0x4c2d88]
call fcn.00403628
test al, al
je 0x4dbce7
mov eax, ebx
mov edx, dword [0x4c2d88]
call fcn.0040364c
mov ebx, eax
lea ecx, [ebp - 0x4c]
mov dl, byte [ebx + 0x10]
mov eax, dword [ebp - 4]
call fcn.004db828
mov ecx, dword [ebp - 0x4c]
mov edx, 0x4dc288
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x14]
mov edx, 0x4dc29c
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x18]
mov edx, 0x4dc2ac
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x1c]
mov edx, 0x4dc2bc
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x20]
mov edx, 0x4dc2c8
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x24]
mov edx, 0x4dc2dc
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
lea ecx, [ebp - 0x50]
mov dl, byte [ebx + 0x28]
mov eax, dword [ebp - 4]
call fcn.004db828
mov ecx, dword [ebp - 0x50]
mov edx, 0x4dc2f0
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
lea ecx, [ebp - 0x54]
mov dl, byte [ebx + 0x29]
mov eax, dword [ebp - 4]
call fcn.004db828
mov ecx, dword [ebp - 0x54]
mov edx, 0x4dc308
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
lea ecx, [ebp - 0x58]
mov dl, byte [ebx + 0x2a]
mov eax, dword [ebp - 4]
call fcn.004db828
mov ecx, dword [ebp - 0x58]
mov edx, 0x4dc320
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
lea ecx, [ebp - 0x5c]
mov dl, byte [ebx + 0x5c]
mov eax, dword [ebp - 4]
call fcn.004db828
mov ecx, dword [ebp - 0x5c]
mov edx, 0x4dc338
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
lea ecx, [ebp - 0x60]
mov dl, byte [ebx + 0x5d]
mov eax, dword [ebp - 4]
call fcn.004db828
mov ecx, dword [ebp - 0x60]
mov edx, 0x4dc350
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x2c]
mov edx, 0x4dc368
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x30]
mov edx, 0x4dc37c
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x34]
mov edx, 0x4dc390
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x38]
mov edx, 0x4dc3a0
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x3c]
mov edx, 0x4dc3b4
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x40]
mov edx, 0x4dc3c8
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x44]
mov edx, 0x4dc3dc
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x48]
mov edx, 0x4dc3ec
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x4c]
mov edx, 0x4dc3fc
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x50]
mov edx, 0x4dc414
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x54]
mov edx, 0x4dc428
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 4]
mov ecx, dword [ebx + 0x58]
mov edx, 0x4dc438
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4dc448
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4dbe2b
mov ecx, dword [eax + 8]
mov edx, 0x4dc45c
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
mov edx, 0x4dc470
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov edx, 0x4dc488
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
mov edx, 0x4dc4a0
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, 0x4dc4b8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x1c]
mov edx, 0x4dc4d0
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x20]
mov edx, 0x4dc4e8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x1c]
mov edx, 0x4dc4f8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x24]
mov edx, 0x4dc50c
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x28]
mov edx, 0x4dc520
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x2c]
mov edx, 0x4dc538
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x30]
mov edx, 0x4dc54c
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, byte [eax + 4]
mov eax, dword [ebp - 4]
call fcn.004db828
mov ecx, dword [ebp - 0x64]
mov edx, 0x4dc560
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
setne dl
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.004db828
mov ecx, dword [ebp - 0x68]
mov edx, 0x4dc570
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x4dbe88
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov edx, 0x4dc584
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x4dbe88
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov edx, 0x4dc594
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov dl, 1
mov eax, dword [0x48e624]
call fcn.0040346c
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x4dc08f
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4dc037
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
call fcn.0048dbb8
mov esi, eax
dec esi
test esi, esi
jl 0x4dbf0e
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x6c]
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0048dc2c
push dword [ebp - 0x6c]
push 0x4dc5a8
lea ecx, [ebp - 0x70]
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0048dc60
push dword [ebp - 0x70]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404650
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.0048f218
mov eax, dword [ebp - 0x14]
call fcn.0048f0ac
inc ebx
dec esi
jne 0x4dbec5
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, edi
mov eax, dword [0x48e6a0]
call fcn.0048f310
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x48e624]
call fcn.0040346c
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4dc026
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.0041f0e0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x48e5c8]
call fcn.0048ea34
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [0x48e5c8]
call fcn.0048ea34
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.0041f35c
mov eax, dword [ebp + 8]
call fcn.004042d0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.0040491c
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
test esi, esi
jle 0x4dbff8
mov ebx, 1
mov eax, dword [ebp + 8]
call fcn.004047e8
mov dl, byte [edi + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4dbfe4
lea edx, [ebp - 0x74]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.0048f4b8
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp + 8]
call fcn.00404324
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc02d
mov eax, dword [ebp - 0x18]
call fcn.0040349c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc0dd
lea eax, [ebp - 0x74]
mov edx, 0x15
call fcn.004042f4
lea eax, [ebp - 0xc]
call fcn.004042d0
ret