Function at 0x10031060
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x214
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [0x10048cd0]
mov dword [esp + 8], eax
mov ax, word [0x10048cd4]
mov word [esp + 0xc], ax
xor eax, eax
mov word [esp + 0x10], ax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
mov dword [esp + 8], 6
push eax
push str.Country
push 0
call fcn.1002ed20
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x200
push eax
lea eax, [esp + 0x24]
push eax
push str.PostStatusUrl
push 0
call fcn.1002ed20
mov eax, dword [esp + 0x250]
add esp, 0x20
test eax, eax
je 0x100310dd
mov ecx, dword [eax]
jmp 0x100310df
xor ecx, ecx
mov eax, dword [esp + 0x228]
test eax, eax
je 0x100310ee
mov edx, dword [eax]
jmp 0x100310f0
xor edx, edx
mov eax, dword [esp + 0x224]
push ebx
push ebp
push esi
push edi
test eax, eax
je 0x10031103
mov esi, dword [eax]
jmp 0x10031105
xor esi, esi
mov eax, dword [esp + 0x230]
test eax, eax
je 0x10031114
mov edi, dword [eax]
jmp 0x10031116
xor edi, edi
mov eax, dword [esp + 0x22c]
test eax, eax
je 0x10031125
mov ebx, dword [eax]
jmp 0x10031127
xor ebx, ebx
mov eax, dword [esp + 0x228]
test eax, eax
je 0x10031136
mov eax, dword [eax]
jmp 0x10031138
xor eax, eax
push str.sunjfxinstallstat
push ecx
push edx
push esi
push edi
push 0x1004888c
push 0x1004888c
push 0xffffffffffffff9d
push dword [esp + 0x25c]
lea ecx, [esp + 0x3c]
push 0
push 0
push 0
push 0
push ecx
push ebx
push eax
lea eax, [esp + 0x60]
push eax
call fcn.1002f9d0
mov esi, dword [esp + 0x26c]
add esp, 0x44
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
or edi, 0xffffffff
mov ebp, eax
test esi, esi
je 0x100311d0
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x100311c5
test esi, esi
je 0x100311c5
mov eax, dword [esi]
test eax, eax
je 0x100311a3
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100311ba
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
mov dword [esp + 0x228], 0
mov esi, dword [esp + 0x22c]
test esi, esi
je 0x10031225
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x1003121a
test esi, esi
je 0x1003121a
mov eax, dword [esi]
test eax, eax
je 0x100311f8
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1003120f
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
mov dword [esp + 0x22c], 0
mov esi, dword [esp + 0x230]
test esi, esi
je 0x1003127a
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x1003126f
test esi, esi
je 0x1003126f
mov eax, dword [esi]
test eax, eax
je 0x1003124d
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10031264
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
mov dword [esp + 0x230], 0
mov esi, dword [esp + 0x234]
test esi, esi
je 0x100312cf
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x100312c4
test esi, esi
je 0x100312c4
mov eax, dword [esi]
test eax, eax
je 0x100312a2
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100312b9
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
mov dword [esp + 0x234], 0
mov esi, dword [esp + 0x238]
test esi, esi
je 0x10031324
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x10031319
test esi, esi
je 0x10031319
mov eax, dword [esi]
test eax, eax
je 0x100312f7
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1003130e
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
mov dword [esp + 0x238], 0
mov esi, dword [esp + 0x240]
test esi, esi
je 0x1003136c
lock xadd dword [esi + 8], edi
dec edi
jne 0x1003136c
test esi, esi
je 0x1003136c
mov eax, dword [esi]
test eax, eax
je 0x1003134a
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10031361
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002f9d0
add esp, 8
mov ecx, dword [esp + 0x220]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x214
ret