Function at 0x42e250
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481878
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00412bc0
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
and dword [ebp - 0x2c], 0xfffffe00
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
call fcn.0041ee80
test eax, eax
je 0x42e6a7
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x34]
call fcn.0042f6a0
test eax, eax
je 0x42e6a7
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.0041cc50
push str.country
lea ecx, [ebp - 0x14]
call fcn.00407e20
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x20]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x20]
je 0x42e312
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e33b
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x18]
add esi, 0x14
mov ecx, edi
push esi
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 0x42e367
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], 4
push eax
lea ecx, [ebp - 0x20]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x20]
je 0x42e39c
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e3c5
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x18]
add esi, 0x14
lea ecx, [edi + 4]
push esi
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 0x42e3ef
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], 5
push eax
lea ecx, [ebp - 0x20]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x20]
je 0x42e424
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e44d
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x18]
add esi, 0x14
lea ecx, [edi + 8]
push esi
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 0x42e477
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], 6
push eax
lea ecx, [ebp - 0x20]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x20]
je 0x42e4ac
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e4d5
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x18]
add esi, 0x14
lea ecx, [edi + 0xc]
push esi
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 0x42e4ff
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], 7
push eax
lea ecx, [ebp - 0x20]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x20]
je 0x42e534
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e55d
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x18]
add esi, 0x14
lea ecx, [edi + 0x10]
push esi
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 0x42e587
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], 8
push eax
lea ecx, [ebp - 0x20]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x20]
je 0x42e5bc
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e5e5
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x18]
add esi, 0x14
lea ecx, [edi + 0x14]
push esi
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 0x42e60f
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], 9
push eax
lea ecx, [ebp - 0x20]
call fcn.0041b500
mov esi, eax
cmp esi, dword [ebp - 0x20]
je 0x42e644
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412a70
test al, al
je 0x42e66d
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00426cf0
push eax
add eax, 0x10
lea ecx, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.00426db0
mov esi, dword [ebp - 0x18]
add esi, 0x14
lea ecx, [edi + 0x18]
push esi
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 0x42e695
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
lea ecx, [edi + 0x1c]
call fcn.00409c30
mov esi, 1
jmp 0x42e6b1
lea ecx, [ebp - 0x34]
call fcn.0041cc50
xor esi, esi
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
push eax
push dword [eax]
lea eax, [ebp + 8]
push eax
call fcn.00426810
push 0x18
push 1
push dword [ebp - 0x20]
call fcn.00407ee0
add esp, 0xc
mov eax, esi
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