Function at 0x479130
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8815
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 esi, ecx
mov dword [ebp - 0x20], esi
mov ecx, dword [esi + 0x1c]
lea eax, [esi + 0x1c]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
cmp dword [ecx - 0xc], 0
mov dword [ebp - 0x2c], eax
jne 0x47977b
push 0x18
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 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 - 0x28], eax
mov dword [ebp - 4], 0
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x47979e
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], 1
call fcn.004041f0
test al, al
jne 0x4791e7
push 7
push str.country
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.0047a520
mov edx, dword [esi]
mov ebx, eax
or esi, 0xffffffff
mov edi, dword [ebx]
lea ecx, [edx - 0x10]
sub edi, 0x10
cmp ecx, edi
je 0x479249
cmp dword [edi + 0xc], 0
jl 0x47923e
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x47923e
call fcn.00416960
mov dword [ebp - 0x1c], eax
lea ecx, [edi + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x479234
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebx], eax
jmp 0x479249
push dword [edx - 0xc]
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 0x479267
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4797a8
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], 3
call fcn.004041f0
test al, al
jne 0x4792a5
push 8
push str.province
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0047a520
mov ebx, dword [ebp - 0x20]
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebx + 4]
mov edi, dword [ecx]
sub edi, 0x10
lea eax, [edx - 0x10]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x479315
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x479309
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x479309
mov ecx, dword [ebp - 0x1c]
call fcn.00416960
mov dword [ebp - 0x1c], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4792fc
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x479312
push dword [edx - 0xc]
push edx
call fcn.004044f0
mov ebx, dword [ebp - 0x20]
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 0x479333
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4797b2
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], 5
call fcn.004041f0
test al, al
jne 0x479371
push 4
push str.city
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x28]
call fcn.0047a520
mov edx, dword [ebx + 8]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x4793de
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4793d2
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x4793d2
mov ecx, dword [ebp - 0x18]
call fcn.00416960
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4793c5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4793db
push dword [edx - 0xc]
push edx
call fcn.004044f0
mov ebx, dword [ebp - 0x20]
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 0x4793fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4797bc
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], 7
call fcn.004041f0
test al, al
jne 0x47943a
push 8
push str.district
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x28]
call fcn.0047a520
mov edx, dword [ebx + 0xc]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x4794a7
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x47949b
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x47949b
mov ecx, dword [ebp - 0x18]
call fcn.00416960
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x47948e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4794a4
push dword [edx - 0xc]
push edx
call fcn.004044f0
mov ebx, dword [ebp - 0x20]
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 0x4794c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4797c6
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], 9
call fcn.004041f0
test al, al
jne 0x479503
push 3
push 0x4cf5f4
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x28]
call fcn.0047a520
mov edx, dword [ebx + 0x10]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x479570
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x479564
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x479564
mov ecx, dword [ebp - 0x18]
call fcn.00416960
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x479557
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x47956d
push dword [edx - 0xc]
push edx
call fcn.004044f0
mov ebx, dword [ebp - 0x20]
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 0x47958e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4797d0
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], 0xb
call fcn.004041f0
test al, al
jne 0x4795cc
push 4
push str.type
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x28]
call fcn.0047a520
mov edx, dword [ebx + 0x14]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x479639
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x47962d
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x47962d
mov ecx, dword [ebp - 0x18]
call fcn.00416960
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x479620
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x479636
push dword [edx - 0xc]
push edx
call fcn.004044f0
mov ebx, dword [ebp - 0x20]
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 0x479657
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x4797da
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], 0xd
call fcn.004041f0
test al, al
jne 0x479695
push 4
push str.desc
lea ecx, [ebp - 0x14]
call fcn.004044f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x28]
call fcn.0047a520
mov edx, dword [ebx + 0x18]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov edi, dword [ecx]
lea eax, [edx - 0x10]
sub edi, 0x10
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x4796ff
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4796f6
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x4796f6
mov ecx, dword [ebp - 0x18]
call fcn.00416960
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4796e9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4796ff
push dword [edx - 0xc]
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 0x47971b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and dword [ebp - 0x3c], 0xfffffe00
mov dword [ebp - 0x38], 0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0047a850
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x479749
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.0047b100
lea ecx, [ebp - 0x44]
call fcn.0047bd70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
lea eax, [ebp - 0x28]
push eax
mov ecx, eax
call fcn.00468620
push 0x18
push dword [ebp - 0x28]
call fcn.00486597
mov ecx, dword [esi]
add esp, 8
mov ebx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00436a70
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
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