Function at 0x454200
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5ce104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.004200a0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
and dword [ebp - 0x24], 0xfffffe00
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
call fcn.0045c770
test eax, eax
je 0x4547bb
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.00456e00
test eax, eax
je 0x4547bb
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00460410
push str.country
lea ecx, [ebp - 0x14]
call fcn.00404e80
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00457250
mov eax, dword [ebp - 0x24]
mov edi, dword [esi]
sub edi, 0x10
mov ecx, dword [eax + 0x14]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x4542f6
cmp dword [edi + 0xc], 0
jl 0x4542eb
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4542eb
push edx
call fcn.00405650
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00407070
mov edx, dword [ebp - 0x10]
lea eax, [esi + 0x10]
mov dword [edx], eax
jmp 0x4542f6
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00405730
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov ecx, dword [ebp - 0x14]
mov eax, edi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x454340
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45433c
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x45433c
push 0
push dword [edx + 4]
call esi
jmp 0x454340
mov ecx, edx
call ebx
push str.province
lea ecx, [ebp - 0x14]
call fcn.00404e80
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00457250
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
mov ebx, dword [ebx + 4]
sub ebx, 0x10
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x4543b5
cmp dword [ebx + 0xc], 0
jl 0x4543a6
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x4543a6
push edx
call fcn.00405650
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.00407070
mov edx, dword [ebp - 0x10]
lea eax, [esi + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [edx + 4], eax
jmp 0x4543b5
push dword [ecx - 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + 4]
call fcn.00405730
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4543f6
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4543f2
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4543f2
push 0
push dword [edx + 4]
call esi
jmp 0x4543f6
mov ecx, edx
call ebx
push str.city
lea ecx, [ebp - 0x14]
call fcn.00404e80
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00457250
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
mov ebx, dword [esi + 8]
sub ebx, 0x10
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x454462
cmp dword [ebx + 0xc], 0
jl 0x454456
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x454456
push edx
call fcn.00405650
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.00407070
mov ebx, dword [ebp - 0x10]
lea eax, [esi + 0x10]
mov dword [ebx + 8], eax
jmp 0x454464
push dword [ecx - 0xc]
push ecx
lea ecx, [esi + 8]
call fcn.00405730
mov ebx, esi
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4544a9
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4544a5
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4544a5
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4544a9
mov ecx, edx
call esi
push str.district
lea ecx, [ebp - 0x14]
call fcn.00404e80
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00457250
mov eax, dword [ebp - 0x24]
lea esi, [ebx + 0xc]
mov ebx, dword [esi]
sub ebx, 0x10
mov ecx, dword [eax + 0x14]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x454513
cmp dword [ebx + 0xc], 0
jl 0x454508
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x454508
push edx
call fcn.00405650
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.00407070
mov ebx, dword [ebp - 0x10]
lea eax, [esi + 0x10]
mov dword [ebx + 0xc], eax
jmp 0x454516
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00405730
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x45455b
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x454557
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x454557
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x45455b
mov ecx, edx
call esi
push 0x5a9b74
lea ecx, [ebp - 0x14]
call fcn.00404e80
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00457250
mov eax, dword [ebp - 0x24]
lea esi, [ebx + 0x10]
mov ebx, dword [esi]
sub ebx, 0x10
mov ecx, dword [eax + 0x14]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x4545c5
cmp dword [ebx + 0xc], 0
jl 0x4545ba
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x4545ba
push edx
call fcn.00405650
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.00407070
mov ebx, dword [ebp - 0x10]
lea eax, [esi + 0x10]
mov dword [ebx + 0x10], eax
jmp 0x4545c8
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00405730
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x45460d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x454609
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x454609
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x45460d
mov ecx, edx
call esi
push str.type
lea ecx, [ebp - 0x14]
call fcn.00404e80
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00457250
mov eax, dword [ebp - 0x24]
lea esi, [ebx + 0x14]
mov ebx, dword [esi]
sub ebx, 0x10
mov ecx, dword [eax + 0x14]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x454677
cmp dword [ebx + 0xc], 0
jl 0x45466c
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x45466c
push edx
call fcn.00405650
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.00407070
mov ebx, dword [ebp - 0x10]
lea eax, [esi + 0x10]
mov dword [ebx + 0x14], eax
jmp 0x45467a
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00405730
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4546bf
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4546bb
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4546bb
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4546bf
mov ecx, edx
call esi
push 0x5a9b88
lea ecx, [ebp - 0x14]
call fcn.00404e80
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00457250
mov eax, dword [ebp - 0x24]
lea esi, [ebx + 0x18]
mov ebx, dword [esi]
sub ebx, 0x10
mov ecx, dword [eax + 0x14]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x454729
cmp dword [ebx + 0xc], 0
jl 0x45471e
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x45471e
push edx
call fcn.00405650
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.00407070
mov ebx, dword [ebp - 0x10]
lea eax, [esi + 0x10]
mov dword [ebx + 0x18], eax
jmp 0x45472c
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00405730
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edi
dec edi
test edi, edi
jg 0x45476f
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45476b
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x45476b
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x45476f
mov ecx, edx
call esi
mov eax, dword [ebp + 8]
mov edi, dword [ebx + 0x1c]
sub edi, 0x10
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4547b4
cmp dword [edi + 0xc], 0
jl 0x4547a8
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4547a8
call fcn.0041eee0
mov ecx, edi
mov esi, eax
call fcn.00407070
lea eax, [esi + 0x10]
mov esi, 1
mov dword [ebx + 0x1c], eax
jmp 0x4547c5
push dword [edx - 0xc]
lea ecx, [ebx + 0x1c]
push edx
call fcn.0041ef80
mov esi, 1
jmp 0x4547c5
lea ecx, [ebp - 0x2c]
call fcn.00460410
xor esi, esi
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 8]
push ecx
push dword [ecx]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0041e4a0
push dword [ebp - 0x1c]
call fcn.005221dc
add esp, 4
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