Function at 0x430410
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9362
mov eax, dword fs:[0]
push eax
mov eax, 0x14ee4
call fcn.004a9180
mov eax, dword [0x51fee0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14ed8], eax
mov dword [ebp - 0x14eec], 0
call fcn.004324b0
test al, al
jne 0x4304ca
xor eax, eax
push 0x14ec0
push eax
mov word [ebp - 0x14ed4], ax
lea eax, [ebp - 0x14ed2]
push eax
call fcn.004a8550
add esp, 0xc
xor edi, edi
xor esi, esi
xor eax, eax
test edi, edi
je 0x4304aa
test eax, eax
je 0x4304aa
lea ecx, [esi + eax]
lea edx, [ebp - 0x14ed4]
lea edx, [edx + ecx*2]
lea ecx, [esi + eax]
mov cx, word [ebp + ecx*2 - 0x15072]
inc cx
add cx, word [edx - 2]
mov word [edx], cx
inc eax
cmp eax, 0xcf
jl 0x430482
add esi, 0xcf
inc edi
cmp esi, 0xa761
jl 0x430480
movsx eax, word [ebp - 0x14]
mov dword [0x521340], eax
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14ee8], eax
mov eax, 0x4de270
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x430514
movzx esi, ax
push 0
push esi
call fcn.00403bc0
add esp, 8
test eax, eax
je 0x430526
push esi
push eax
lea ecx, [ebp - 0x14ee8]
call fcn.004075c0
jmp 0x430526
push 3
push 0x4de270
lea ecx, [ebp - 0x14ee8]
call fcn.004097a0
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov dword [ebp - 4], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14ee4], eax
mov eax, str.Country
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x430574
movzx esi, ax
push 0
push esi
call fcn.00403bc0
add esp, 8
test eax, eax
je 0x430586
push esi
push eax
lea ecx, [ebp - 0x14ee4]
call fcn.004075c0
jmp 0x430586
push 7
push str.Country
lea ecx, [ebp - 0x14ee4]
call fcn.004097a0
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14ee0], eax
mov esi, dword [0x521340]
mov eax, esi
imul eax, esi
imul eax, esi
cdq
mov ecx, 0x15
idiv ecx
mov byte [ebp - 4], 4
cmp edx, 0x11
jne 0x4305dd
xor edi, edi
test esi, esi
je 0x4305d7
mov eax, esi
mov ecx, esi
cdq
sub eax, edx
and ecx, 1
mov esi, eax
add edi, ecx
sar esi, 1
jne 0x4305c5
mov dword [0x521340], edi
mov ebx, dword [ebp - 0x14ee4]
push 1
lea eax, [ebp - 0x14ee0]
push eax
push ecx
mov ecx, dword [ebx - 0x10]
add ebx, 0xfffffff0
mov eax, dword [ecx]
mov dword [ebp - 0x14ef0], esp
mov edi, esp
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x43061c
cmp ecx, dword [ebx]
jne 0x43061c
mov esi, ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x430659
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x430630
call fcn.0040c350
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004a8205
add esp, 0x10
lea eax, [esi + 0x10]
mov dword [edi], eax
mov edi, dword [ebp - 0x14ee8]
push ecx
mov ecx, dword [edi - 0x10]
add edi, 0xfffffff0
mov eax, dword [ecx]
mov byte [ebp - 4], 5
mov dword [ebp - 0x14edc], esp
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x430696
cmp ecx, dword [edi]
jne 0x430696
mov esi, edi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4306d3
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x4306aa
call fcn.0040c350
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004a8205
add esp, 0x10
mov ecx, dword [ebp - 0x14edc]
lea eax, [esi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 4
call fcn.00431160
add esp, 0x10
test al, al
jne 0x43075f
mov ecx, dword [ebp - 0x14ed8]
push 0x4d9c60
call fcn.00401ff0
mov edx, dword [ebp - 0x14ee0]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x430724
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43073e
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4307da
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x4307da
mov esi, dword [ebp - 0x14ee0]
add esi, 0xfffffff0
push esi
mov dword [ebp - 0x14edc], esi
call fcn.00404880
mov ecx, dword [ebp - 0x14ed8]
add eax, 0x10
mov dword [ecx], eax
lea ecx, [esi + 0xc]
or esi, 0xffffffff
add esp, 4
mov byte [ebp - 4], 3
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4307a5
mov edx, dword [ebp - 0x14edc]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4307bf
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4307da
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14ed8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7434
mov esp, ebp
pop ebp
ret