Function at 0x100452e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100a1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax - 0xc], 0
jne 0x10045901
push 0x18
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.10053c2b
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.10004070
mov ecx, eax
test ecx, ecx
je 0x10045929
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.10007ac0
test al, al
jne 0x10045396
push 7
push str.country
lea ecx, [ebp - 0x14]
call fcn.10007d40
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.10046110
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 0x100453f8
cmp dword [edi + 0xc], 0
jl 0x100453ed
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x100453ed
call fcn.10007880
mov dword [ebp - 0x1c], eax
lea ecx, [edi + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100453e3
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 0x100453f8
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.10007d40
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 0x10045416
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x10045933
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.10007ac0
test al, al
jne 0x10045454
push 8
push str.province
lea ecx, [ebp - 0x14]
call fcn.10007d40
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.10046110
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 0x100454c4
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x100454b8
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x100454b8
mov ecx, dword [ebp - 0x1c]
call fcn.10007880
mov dword [ebp - 0x1c], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x100454ab
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 0x100454c1
push dword [edx - 0xc]
push edx
call fcn.10007d40
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 0x100454e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x1004593d
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.10007ac0
test al, al
jne 0x10045520
push 4
push str.city
lea ecx, [ebp - 0x14]
call fcn.10007d40
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x28]
call fcn.10046110
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 0x1004558d
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x10045581
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x10045581
mov ecx, dword [ebp - 0x18]
call fcn.10007880
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x10045574
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 0x1004558a
push dword [edx - 0xc]
push edx
call fcn.10007d40
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 0x100455ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x10045947
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.10007ac0
test al, al
jne 0x100455e9
push 8
push str.district
lea ecx, [ebp - 0x14]
call fcn.10007d40
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x28]
call fcn.10046110
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 0x10045656
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x1004564a
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x1004564a
mov ecx, dword [ebp - 0x18]
call fcn.10007880
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x1004563d
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 0x10045653
push dword [edx - 0xc]
push edx
call fcn.10007d40
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 0x10045674
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x10045951
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x100958c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.10007ac0
test al, al
jne 0x100456b2
push 3
push 0x100958c0
lea ecx, [ebp - 0x14]
call fcn.10007d40
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x28]
call fcn.10046110
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 0x1004571f
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x10045713
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x10045713
mov ecx, dword [ebp - 0x18]
call fcn.10007880
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x10045706
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 0x1004571c
push dword [edx - 0xc]
push edx
call fcn.10007d40
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 0x1004573d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x1004595b
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.10007ac0
test al, al
jne 0x1004577b
push 4
push str.type
lea ecx, [ebp - 0x14]
call fcn.10007d40
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x28]
call fcn.10046110
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 0x100457e8
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x100457dc
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x100457dc
mov ecx, dword [ebp - 0x18]
call fcn.10007880
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x100457cf
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 0x100457e5
push dword [edx - 0xc]
push edx
call fcn.10007d40
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 0x10045806
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x10045965
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.10007ac0
test al, al
jne 0x10045844
push 4
push str.desc
lea ecx, [ebp - 0x14]
call fcn.10007d40
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x28]
call fcn.10046110
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 0x100458ae
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x100458a5
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x100458a5
mov ecx, dword [ebp - 0x18]
call fcn.10007880
mov dword [ebp - 0x18], eax
mov eax, esi
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x10045898
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 0x100458ae
push dword [edx - 0xc]
push edx
call fcn.10007d40
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 0x100458ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov edx, esi
call fcn.10046210
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.10030b20
push 0x18
push dword [ebp - 0x28]
call fcn.10053bf1
mov ebx, dword [ebp - 0x30]
add esp, 8
jmp 0x10045904
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.10011210
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.10001410
push 0x80004005
call fcn.10001410
push 0x80004005
call fcn.10001410
push 0x80004005
call fcn.10001410
push 0x80004005
call fcn.10001410
push 0x80004005
call fcn.10001410
push 0x80004005
call fcn.10001410
int3