Function at 0x43f810
Capabilities:
Get geographical location

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5522c1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x5a9464]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], ecx
mov esi, dword [ecx + 4]
mov edi, dword [ebx + 8]
add esi, 4
push esi
mov dword [ebp - 0x94], esi
call fcn.004f54a0
add esp, 4
test eax, eax
je 0x43f888
cmp eax, 3
je 0x43f881
push eax
call fcn.004f4ef1
add esp, 4
xor al, al
jmp 0x43fbad
xor ecx, ecx
mov eax, 7
cmp byte [str.country], cl
cmove eax, ecx
push eax
push ecx
push str.country
mov ecx, edi
call fcn.00437440
cmp eax, 0xffffffff
jne 0x43f8b8
push esi
call fcn.004f54d8
add esp, 4
test eax, eax
jmp 0x43f876
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
push 0
movups xmmword [ebp - 0x48], xmm0
movq qword [ebp - 0x38], xmm0
call fcn.004a7a10
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
movups xmmword [ebp - 0x88], xmm0
movups xmmword [ebp - 0x78], xmm0
call fcn.004aadc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x98], eax
call fcn.004afc30
mov esi, eax
mov dword [ebp - 0x64], esi
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x43f931
mov eax, dword [edi]
jmp 0x43f933
mov eax, edi
cmp ecx, 0x10
jb 0x43f93a
mov edi, dword [edi]
mov edx, dword [esi]
lea ecx, [ebp - 0x60]
add eax, dword [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
mov eax, dword [edx + 4]
mov ecx, esi
push edi
call eax
test al, al
je 0x43fb3f
lea ecx, [ebp - 0x48]
call fcn.004a9ec0
test al, al
jne 0x43fb3f
lea ecx, [ebp - 0x48]
call fcn.004aa7b0
cmp eax, 7
jne 0x43fb3f
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
push 0x58f298
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
call fcn.004a85f0
push eax
lea ecx, [ebp - 0x30]
call fcn.004a77a0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.004a9ec0
test al, al
jne 0x43f9e5
lea ecx, [ebp - 0x30]
call fcn.004a9ee0
test al, al
je 0x43f9e5
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x30]
call fcn.004a8ea0
mov edi, dword [ebp - 0x90]
push eax
lea ecx, [edi + 8]
call fcn.004065e0
lea ecx, [ebp - 0xb0]
call fcn.004065a0
jmp 0x43f9eb
mov edi, dword [ebp - 0x90]
push str.country
lea ecx, [ebp - 0x48]
call fcn.004a85f0
push eax
lea ecx, [ebp - 0x30]
call fcn.004a7fb0
lea ecx, [ebp - 0x30]
call fcn.004a9ec0
test al, al
jne 0x43fa3c
lea ecx, [ebp - 0x30]
call fcn.004a9ee0
test al, al
je 0x43fa3c
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x30]
call fcn.004a8ea0
push eax
lea ecx, [edi + 0x20]
call fcn.004065e0
lea ecx, [ebp - 0xb0]
call fcn.004065a0
push str.country_code
lea ecx, [ebp - 0x48]
call fcn.004a85f0
push eax
lea ecx, [ebp - 0x30]
call fcn.004a7fb0
lea ecx, [ebp - 0x30]
call fcn.004a9ee0
test al, al
je 0x43fa81
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x30]
call fcn.004a8ea0
push eax
lea ecx, [edi + 0x38]
call fcn.004065e0
lea ecx, [ebp - 0xb0]
call fcn.004065a0
push str.province
lea ecx, [ebp - 0x48]
call fcn.004a85f0
push eax
lea ecx, [ebp - 0x30]
call fcn.004a7fb0
lea ecx, [ebp - 0x30]
call fcn.004a9ec0
test al, al
jne 0x43fad2
lea ecx, [ebp - 0x30]
call fcn.004a9ee0
test al, al
je 0x43fad2
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x30]
call fcn.004a8ea0
push eax
lea ecx, [edi + 0x50]
call fcn.004065e0
lea ecx, [ebp - 0xb0]
call fcn.004065a0
push str.city
lea ecx, [ebp - 0x48]
call fcn.004a85f0
push eax
lea ecx, [ebp - 0x30]
call fcn.004a7fb0
lea ecx, [ebp - 0x30]
call fcn.004a9ec0
test al, al
jne 0x43fb23
lea ecx, [ebp - 0x30]
call fcn.004a9ee0
test al, al
je 0x43fb23
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x30]
call fcn.004a8ea0
push eax
lea ecx, [edi + 0x68]
call fcn.004065e0
lea ecx, [ebp - 0xb0]
call fcn.004065a0
mov ecx, dword [ebp - 0x94]
call fcn.0042b2d0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x89], 1
call fcn.004a7e30
jmp 0x43fb61
push dword [ebp - 0x94]
call fcn.004f54d8
add esp, 4
test eax, eax
je 0x43fb5a
push eax
call fcn.004f4ef1
add esp, 4
mov byte [ebp - 0x89], 0
mov byte [ebp - 4], 7
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax]
lea ecx, [ebp - 0x88]
call fcn.004ab040
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x43fb8d
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00406f30
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.004a7e30
mov al, byte [ebp - 0x89]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00508d84
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4