Function at 0x4a8b50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db52d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x655140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax - 0xc], 0
jne 0x4a9171
push 0x18
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.004b4016
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x4a9199
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.country
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00408c10
test al, al
jne 0x4a8c06
push 7
push str.country
lea ecx, [ebp - 0x14]
call fcn.00408fa0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c10
mov edx, dword [esi]
mov ebx, eax
or esi, 0xffffffff
mov edi, dword [ebx]
lea ecx, [edx - 0x10]
sub edi, 0x10
cmp ecx, edi
je 0x4a8c68
cmp dword [edi + 0xc], 0
jl 0x4a8c5d
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4a8c5d
call fcn.00408e50
mov dword [ebp - 0x1c], eax
lea ecx, [edi + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4a8c53
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebx], eax
jmp 0x4a8c68
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.00408fa0
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a8c86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x4a91a3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.province
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00408c10
test al, al
jne 0x4a8cc4
push 8
push str.province
lea ecx, [ebp - 0x14]
call fcn.00408fa0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c10
mov ebx, dword [ebp - 0x20]
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebx + 4]
mov edi, dword [ecx]
sub edi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x4a8d34
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4a8d28
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x4a8d28
mov ecx, dword [ebp - 0x1c]
call fcn.00408e50
mov dword [ebp - 0x1c], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a8d1b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4a8d31
push dword [edx - 0xc]
push edx
call fcn.00408fa0
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a8d52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x4a91ad
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.city
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00408c10
test al, al
jne 0x4a8d90
push 4
push str.city
lea ecx, [ebp - 0x14]
call fcn.00408fa0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c10
mov edx, dword [ebx + 8]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x4a8dfd
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4a8df1
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x4a8df1
mov ecx, dword [ebp - 0x18]
call fcn.00408e50
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a8de4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4a8dfa
push dword [edx - 0xc]
push edx
call fcn.00408fa0
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a8e1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x4a91b7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.district
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00408c10
test al, al
jne 0x4a8e59
push 8
push str.district
lea ecx, [ebp - 0x14]
call fcn.00408fa0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c10
mov edx, dword [ebx + 0xc]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x4a8ec6
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4a8eba
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x4a8eba
mov ecx, dword [ebp - 0x18]
call fcn.00408e50
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a8ead
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4a8ec3
push dword [edx - 0xc]
push edx
call fcn.00408fa0
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a8ee4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x4a91c1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x63dc88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00408c10
test al, al
jne 0x4a8f22
push 3
push 0x63dc88
lea ecx, [ebp - 0x14]
call fcn.00408fa0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c10
mov edx, dword [ebx + 0x10]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x4a8f8f
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4a8f83
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x4a8f83
mov ecx, dword [ebp - 0x18]
call fcn.00408e50
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a8f76
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4a8f8c
push dword [edx - 0xc]
push edx
call fcn.00408fa0
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a8fad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x4a91cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.type
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.00408c10
test al, al
jne 0x4a8feb
push 4
push str.type
lea ecx, [ebp - 0x14]
call fcn.00408fa0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c10
mov edx, dword [ebx + 0x14]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x4a9058
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4a904c
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x4a904c
mov ecx, dword [ebp - 0x18]
call fcn.00408e50
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a903f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4a9055
push dword [edx - 0xc]
push edx
call fcn.00408fa0
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a9076
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x4a91d5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.desc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.00408c10
test al, al
jne 0x4a90b4
push 4
push str.desc
lea ecx, [ebp - 0x14]
call fcn.00408fa0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x28]
call fcn.00407c10
mov edx, dword [ebx + 0x18]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x4a911e
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4a9115
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x4a9115
mov ecx, dword [ebp - 0x18]
call fcn.00408e50
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4a9108
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4a911e
push dword [edx - 0xc]
push edx
call fcn.00408fa0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4a913a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov edx, esi
call fcn.004a9970
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
lea eax, [ebp - 0x28]
push eax
mov ecx, eax
call fcn.00409b60
push 0x18
push dword [ebp - 0x28]
call fcn.004b4401
mov ebx, dword [ebp - 0x30]
add esp, 8
jmp 0x4a9174
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00413e90
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402a80
push 0x80004005
call fcn.00402a80
push 0x80004005
call fcn.00402a80
push 0x80004005
call fcn.00402a80
push 0x80004005
call fcn.00402a80
push 0x80004005
call fcn.00402a80
push 0x80004005
call fcn.00402a80
int3