Function at 0x42e6f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4818e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4ad070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x1c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x42eb6b
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00412bc0
mov dword [ebp - 0x28], eax
push str.country
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00407e20
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x28]
je 0x42e785
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e7ae
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x1c]
lea ecx, [esi + 0x14]
push edi
call fcn.00406390
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e7d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.province
lea ecx, [ebp - 0x14]
call fcn.00407e20
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x28]
je 0x42e80d
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e836
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x1c]
lea eax, [edi + 4]
lea ecx, [esi + 0x14]
push eax
call fcn.00406390
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e860
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.city
lea ecx, [ebp - 0x14]
call fcn.00407e20
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x28]
je 0x42e895
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e8be
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x1c]
lea eax, [edi + 8]
lea ecx, [esi + 0x14]
push eax
call fcn.00406390
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e8e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.district
lea ecx, [ebp - 0x14]
call fcn.00407e20
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x28]
je 0x42e91d
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e946
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x1c]
lea eax, [edi + 0xc]
lea ecx, [esi + 0x14]
push eax
call fcn.00406390
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e970
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x49dc48
lea ecx, [ebp - 0x14]
call fcn.00407e20
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x28]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x28]
je 0x42e9a5
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e9ce
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x1c]
lea eax, [edi + 0x10]
lea ecx, [esi + 0x14]
push eax
call fcn.00406390
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e9f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.type
lea ecx, [ebp - 0x14]
call fcn.00407e20
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x28]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x28]
je 0x42ea2d
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42ea56
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x1c]
lea eax, [edi + 0x14]
lea ecx, [esi + 0x14]
push eax
call fcn.00406390
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ea80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.desc
lea ecx, [ebp - 0x14]
call fcn.00407e20
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x28]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x28]
je 0x42eab5
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42eade
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x1c]
lea eax, [edi + 0x18]
lea ecx, [esi + 0x14]
push eax
call fcn.00406390
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42eb06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and dword [ebp - 0x34], 0xfffffe00
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0042f8d0
test eax, eax
je 0x42eb36
lea esi, [edi + 0x1c]
mov edx, esi
lea ecx, [ebp - 0x3c]
call fcn.0041f0c0
jmp 0x42eb39
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call fcn.0041cc50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
push eax
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.00426810
push 0x18
push 1
push dword [ebp - 0x28]
call fcn.00407ee0
add esp, 0xc
jmp 0x42eb6e
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00408fe0
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
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