Function at 0x4406b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565798
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5ad124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 0x1c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x440c63
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.00414fe0
mov dword [ebp - 0x38], eax
push str.country
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00404c40
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
call fcn.00443230
mov ebx, dword [ebp - 0x24]
mov ecx, dword [esi]
mov edi, dword [ebx + 0x14]
lea edx, [ecx - 0x10]
sub edi, 0x10
cmp edx, edi
je 0x440778
cmp dword [edi + 0xc], 0
jl 0x44076c
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x44076c
push edx
call fcn.00405420
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00406e40
lea eax, [esi + 0x10]
mov dword [ebx + 0x14], eax
jmp 0x440778
push dword [ecx - 0xc]
push ecx
lea ecx, [ebx + 0x14]
call fcn.00405500
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov ecx, dword [ebp - 0x18]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x4407c2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4407be
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4407be
push 0
push dword [edx + 4]
call ebx
jmp 0x4407c2
mov ecx, edx
call esi
push str.province
lea ecx, [ebp - 0x1c]
call fcn.00404c40
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
call fcn.00443230
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
add eax, 0x14
mov dword [ebp - 0x18], eax
mov edx, dword [edx + 4]
mov ecx, dword [eax]
sub ecx, 0x10
lea esi, [edx - 0x10]
mov dword [ebp - 0x20], ecx
cmp esi, ecx
je 0x440838
cmp dword [ecx + 0xc], 0
jl 0x44082d
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x44082a
push esi
call fcn.00405420
mov ecx, dword [ebp - 0x20]
add esp, 4
mov esi, eax
call fcn.00406e40
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
mov dword [ecx], eax
jmp 0x440838
mov eax, dword [ebp - 0x18]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00405500
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x440879
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x440875
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x440875
push 0
push dword [edx + 4]
call ebx
jmp 0x440879
mov ecx, edx
call esi
push str.city
lea ecx, [ebp - 0x18]
call fcn.00404c40
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
call fcn.00443230
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
add eax, 0x14
mov dword [ebp - 0x1c], eax
mov edx, dword [ecx + 8]
mov ecx, dword [eax]
sub ecx, 0x10
lea esi, [edx - 0x10]
mov dword [ebp - 0x20], ecx
cmp esi, ecx
je 0x4408ef
cmp dword [ecx + 0xc], 0
jl 0x4408e4
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x4408e1
push esi
call fcn.00405420
mov ecx, dword [ebp - 0x20]
add esp, 4
mov esi, eax
call fcn.00406e40
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x10]
mov dword [ecx], eax
jmp 0x4408ef
mov eax, dword [ebp - 0x1c]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00405500
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x440930
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x44092c
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x44092c
push 0
push dword [edx + 4]
call ebx
jmp 0x440930
mov ecx, edx
call esi
push str.district
lea ecx, [ebp - 0x18]
call fcn.00404c40
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
call fcn.00443230
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
add eax, 0x14
mov dword [ebp - 0x1c], eax
mov edx, dword [ecx + 0xc]
mov ecx, dword [eax]
sub ecx, 0x10
lea esi, [edx - 0x10]
mov dword [ebp - 0x20], ecx
cmp esi, ecx
je 0x4409a6
cmp dword [ecx + 0xc], 0
jl 0x44099b
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x440998
push esi
call fcn.00405420
mov ecx, dword [ebp - 0x20]
add esp, 4
mov esi, eax
call fcn.00406e40
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x10]
mov dword [ecx], eax
jmp 0x4409a6
mov eax, dword [ebp - 0x1c]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00405500
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4409e7
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4409e3
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4409e3
push 0
push dword [edx + 4]
call ebx
jmp 0x4409e7
mov ecx, edx
call esi
push 0x58b0c0
lea ecx, [ebp - 0x18]
call fcn.00404c40
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
call fcn.00443230
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
add eax, 0x14
mov dword [ebp - 0x1c], eax
mov edx, dword [ecx + 0x10]
mov ecx, dword [eax]
sub ecx, 0x10
lea esi, [edx - 0x10]
mov dword [ebp - 0x20], ecx
cmp esi, ecx
je 0x440a5d
cmp dword [ecx + 0xc], 0
jl 0x440a52
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x440a4f
push esi
call fcn.00405420
mov ecx, dword [ebp - 0x20]
add esp, 4
mov esi, eax
call fcn.00406e40
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x10]
mov dword [ecx], eax
jmp 0x440a5d
mov eax, dword [ebp - 0x1c]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00405500
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x440a9e
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x440a9a
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x440a9a
push 0
push dword [edx + 4]
call ebx
jmp 0x440a9e
mov ecx, edx
call esi
push str.type
lea ecx, [ebp - 0x18]
call fcn.00404c40
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
call fcn.00443230
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
add eax, 0x14
mov dword [ebp - 0x1c], eax
mov edx, dword [ecx + 0x14]
mov ecx, dword [eax]
sub ecx, 0x10
lea esi, [edx - 0x10]
mov dword [ebp - 0x20], ecx
cmp esi, ecx
je 0x440b14
cmp dword [ecx + 0xc], 0
jl 0x440b09
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x440b06
push esi
call fcn.00405420
mov ecx, dword [ebp - 0x20]
add esp, 4
mov esi, eax
call fcn.00406e40
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x10]
mov dword [ecx], eax
jmp 0x440b14
mov eax, dword [ebp - 0x1c]
push dword [edx - 0xc]
mov ecx, eax
push edx
call fcn.00405500
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x440b55
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x440b51
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x440b51
push 0
push dword [edx + 4]
call ebx
jmp 0x440b55
mov ecx, edx
call esi
push 0x58b0d4
lea ecx, [ebp - 0x1c]
call fcn.00404c40
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
call fcn.00443230
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x24]
add esi, 0x14
mov dword [ebp - 0x20], esi
mov ecx, dword [eax + 0x18]
mov ebx, dword [esi]
sub ebx, 0x10
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x440bc4
cmp dword [ebx + 0xc], 0
jl 0x440bb9
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x440bb9
push edx
call fcn.00405420
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.00406e40
mov ecx, dword [ebp - 0x20]
lea eax, [esi + 0x10]
mov dword [ecx], eax
jmp 0x440bc4
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00405500
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edi
dec edi
test edi, edi
jg 0x440c07
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x440c03
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x440c03
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x440c07
mov ecx, edx
call esi
and dword [ebp - 0x24], 0xfffffe00
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x38]
call fcn.00443040
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x440c35
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00446fb0
lea ecx, [ebp - 0x2c]
call fcn.0044aba0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x38]
push eax
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call fcn.00413150
push dword [ebp - 0x38]
call fcn.00506ed8
add esp, 4
jmp 0x440c66
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00413a30
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
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