Function at 0x478ab0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8765
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4e2018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov esi, dword [ebp + 8]
push 0x18
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.004865a5
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
and dword [ebp - 0x34], 0xfffffe00
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x3c]
mov ecx, dword [esi]
call fcn.0047aec0
test eax, eax
je 0x4790a1
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x3c]
call fcn.0047a660
test eax, eax
je 0x4790a1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.0047bd70
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4790df
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.country
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004041f0
test al, al
jne 0x478b94
push 7
push str.country
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x24]
call fcn.0047a520
mov edi, dword [ebx]
or esi, 0xffffffff
sub edi, 0x10
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x478bfa
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x478bec
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x478bec
call fcn.00416960
mov dword [ebp - 0x18], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x478be2
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebx], eax
jmp 0x478bfa
push dword [edx - 0xc]
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
push edx
call fcn.004044f0
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x478c18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4790e9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.province
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004041f0
test al, al
jne 0x478c56
push 8
push str.province
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x24]
call fcn.0047a520
mov edi, dword [ebx + 4]
sub edi, 0x10
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x478cb6
cmp dword [edi + 0xc], 0
jl 0x478caa
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x478caa
call fcn.00416960
mov dword [ebp - 0x18], eax
lea edx, [edi + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478ca2
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx + 4], eax
jmp 0x478cb6
push dword [edx - 0xc]
lea ecx, [ebx + 4]
push edx
call fcn.004044f0
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x478cd4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4790f3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.city
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004041f0
test al, al
jne 0x478d12
push 4
push str.city
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x24]
call fcn.0047a520
mov ebx, dword [ebp - 0x1c]
mov edx, dword [eax]
mov edi, dword [ebx + 8]
sub edi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x478d75
cmp dword [edi + 0xc], 0
jl 0x478d69
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x478d69
call fcn.00416960
mov dword [ebp - 0x18], eax
lea edx, [edi + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478d61
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx + 8], eax
jmp 0x478d75
push dword [edx - 0xc]
lea ecx, [ebx + 8]
push edx
call fcn.004044f0
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x478d93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4790fd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.district
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.004041f0
test al, al
jne 0x478dd1
push 8
push str.district
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x24]
call fcn.0047a520
mov ebx, dword [ebp - 0x1c]
mov edx, dword [eax]
mov edi, dword [ebx + 0xc]
sub edi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x478e34
cmp dword [edi + 0xc], 0
jl 0x478e28
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x478e28
call fcn.00416960
mov dword [ebp - 0x18], eax
lea edx, [edi + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478e20
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx + 0xc], eax
jmp 0x478e34
push dword [edx - 0xc]
lea ecx, [ebx + 0xc]
push edx
call fcn.004044f0
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x478e52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x479107
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x4cf5f4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.004041f0
test al, al
jne 0x478e90
push 3
push 0x4cf5f4
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x24]
call fcn.0047a520
mov ebx, dword [ebp - 0x1c]
mov edx, dword [eax]
mov edi, dword [ebx + 0x10]
sub edi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x478ef3
cmp dword [edi + 0xc], 0
jl 0x478ee7
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x478ee7
call fcn.00416960
mov dword [ebp - 0x18], eax
lea edx, [edi + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478edf
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx + 0x10], eax
jmp 0x478ef3
push dword [edx - 0xc]
lea ecx, [ebx + 0x10]
push edx
call fcn.004044f0
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x478f11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x479111
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.type
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.004041f0
test al, al
jne 0x478f4f
push 4
push str.type
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x24]
call fcn.0047a520
mov ebx, dword [ebp - 0x1c]
mov edx, dword [eax]
mov edi, dword [ebx + 0x14]
sub edi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x478fb2
cmp dword [edi + 0xc], 0
jl 0x478fa6
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x478fa6
call fcn.00416960
mov dword [ebp - 0x18], eax
lea edx, [edi + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478f9e
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx + 0x14], eax
jmp 0x478fb2
push dword [edx - 0xc]
lea ecx, [ebx + 0x14]
push edx
call fcn.004044f0
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x478fd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x47911b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.desc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.004041f0
test al, al
jne 0x47900e
push 4
push str.desc
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x24]
call fcn.0047a520
mov ebx, dword [ebp - 0x1c]
mov edx, dword [eax]
mov edi, dword [ebx + 0x18]
sub edi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x479071
cmp dword [edi + 0xc], 0
jl 0x479065
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x479065
call fcn.00416960
mov dword [ebp - 0x18], eax
lea edx, [edi + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47905d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx + 0x18], eax
jmp 0x479071
push dword [edx - 0xc]
lea ecx, [ebx + 0x18]
push edx
call fcn.004044f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x47908d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x28]
mov ecx, ebx
lea ecx, [ecx + 0x1c]
call fcn.00468100
mov esi, 1
jmp 0x4790ab
lea ecx, [ebp - 0x3c]
call fcn.0047bd70
xor esi, esi
mov eax, dword [ebp - 0x24]
push dword [eax + 4]
lea eax, [ebp - 0x24]
push eax
mov ecx, eax
call fcn.00468620
push 0x18
push dword [ebp - 0x24]
call fcn.00486597
add esp, 8
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
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
int3