Function at 0x478ec0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8b85
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4e3018]
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.004869b5
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.0047b2d0
test eax, eax
je 0x4794b1
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x3c]
call fcn.0047aa70
test eax, eax
je 0x4794b1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.0047c180
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4794ef
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 0x478fa4
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.0047a930
mov edi, dword [ebx]
or esi, 0xffffffff
sub edi, 0x10
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x47900a
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x478ffc
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x478ffc
call fcn.00416960
mov dword [ebp - 0x18], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x478ff2
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 0x47900a
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 0x479028
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4794f9
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 0x479066
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.0047a930
mov edi, dword [ebx + 4]
sub edi, 0x10
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4790c6
cmp dword [edi + 0xc], 0
jl 0x4790ba
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4790ba
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 0x4790b2
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 0x4790c6
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 0x4790e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x479503
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 0x479122
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.0047a930
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 0x479185
cmp dword [edi + 0xc], 0
jl 0x479179
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x479179
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 0x479171
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 0x479185
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 0x4791a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x47950d
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 0x4791e1
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.0047a930
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 0x479244
cmp dword [edi + 0xc], 0
jl 0x479238
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x479238
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 0x479230
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 0x479244
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 0x479262
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x479517
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x4d04a4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.004041f0
test al, al
jne 0x4792a0
push 3
push 0x4d04a4
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x24]
call fcn.0047a930
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 0x479303
cmp dword [edi + 0xc], 0
jl 0x4792f7
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4792f7
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 0x4792ef
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 0x479303
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 0x479321
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x479521
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 0x47935f
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.0047a930
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 0x4793c2
cmp dword [edi + 0xc], 0
jl 0x4793b6
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4793b6
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 0x4793ae
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 0x4793c2
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 0x4793e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x47952b
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 0x47941e
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.0047a930
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 0x479481
cmp dword [edi + 0xc], 0
jl 0x479475
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x479475
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 0x47946d
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 0x479481
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 0x47949d
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.00468580
mov esi, 1
jmp 0x4794bb
lea ecx, [ebp - 0x3c]
call fcn.0047c180
xor esi, esi
mov eax, dword [ebp - 0x24]
push dword [eax + 4]
lea eax, [ebp - 0x24]
push eax
mov ecx, eax
call fcn.00468aa0
push 0x18
push dword [ebp - 0x24]
call fcn.004869a7
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