Function at 0x689838e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x44
mov esi, dword [ebp + 8]
call sym._GetProcessHeap_0
mov dword [esp + 8], 0x30
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._HeapAlloc_12
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x68983b8b
mov dword [eax + 0x2c], 0
test esi, esi
je 0x689844b0
mov dword [esp], esi
call sym._lstrlenW_4
sub esp, 4
lea edi, [eax + eax + 2]
call sym._GetProcessHeap_0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapAlloc_12
sub esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memmove
mov edx, dword [ebp - 0x24]
mov dword [ebx + 8], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6899574c
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x6899551c
call sym._CoCreateInstance_20
sub esp, 0x14
test eax, eax
js 0x68983b40
mov eax, dword [ebx]
lea ecx, [ebx + 4]
mov edx, dword [eax]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x20
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x1c
test eax, eax
js 0x68984230
mov eax, dword [ebx + 4]
lea ecx, [ebx + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.STRINGS
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
js 0x68984430
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1c], 0xdeadbeef
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SYSTEM
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
js 0x689844e0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
lea edi, [ebp - 0x18]
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 4
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test byte [section..data], 8
jne 0x68984530
call sym._GetProcessHeap_0
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapAlloc_12
mov dword [ebp - 0x24], 0x20
sub esp, 0xc
mov edi, eax
lea esi, [esi]
nop
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0x14]
mov dword [esp + 8], 4
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0x689841b0
movzx esi, word [ebp - 0x12]
cmp esi, dword [ebp - 0x24]
ja 0x68984170
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0x689841b0
movzx eax, byte [section..data]
movzx edx, word [ebp - 0x14]
and eax, 8
cmp dx, 0xf
ja case.0x68983b39.1
movzx ecx, dx
jmp dword [ecx*4 + 0x689932fc]
test byte [section..data], 4
je 0x68983b81
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.Could_not_create_ITStorage:__08x_n
mov dword [esp + 0x10], 0x285
mov dword [esp + 0xc], str.OpenCHM
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 2
call sym._ros_dbg_log
mov dword [esp], ebx
call sym._CloseCHM
mov ebx, eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test al, al
je 0x68983ac0
mov eax, dword [edi]
mov dword [esp + 0x14], str.Check_sum:__x_n
mov dword [esp + 0x10], 0xa2
mov dword [esp + 0x18], eax
jmp 0x68983c21
test al, al
je 0x68983ac0
mov eax, dword [edi]
mov dword [esp + 0x14], str.Number_of_info_types:__d_n
mov dword [esp + 0x10], 0x9f
mov dword [esp + 0x18], eax
jmp 0x68983c21
test al, al
je 0x68983ac0
mov eax, dword [edi]
mov dword [esp + 0x14], str.Time_is__08x_n
mov dword [esp + 0x10], 0x9c
mov dword [esp + 0x18], eax
jmp 0x68983c21
test al, al
je 0x68983ac0
movzx eax, word [ebp - 0x12]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._wine_dbgstr_an
mov dword [esp + 0x14], str.Version_is__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x99
mov dword [esp + 0xc], 0x6899333c
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x68983ac0
test al, al
jne 0x689843e0
mov esi, dword [ebx + 0x18]
call sym._GetProcessHeap_0
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp], eax
call sym._HeapFree_12
movzx esi, word [ebp - 0x12]
sub esp, 0xc
test edi, edi
je 0x68984580
test esi, esi
je 0x68983ca4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_memchr]
test eax, eax
je 0x68983ca4
sub eax, edi
mov esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._MultiByteToWideChar_24
lea edx, [eax + 1]
sub esp, 0x18
lea eax, [edx + edx]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._HeapAlloc_12
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._MultiByteToWideChar_24
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
sub esp, 0x18
mov word [ecx + eax - 2], dx
mov dword [ebx + 0x18], ecx
jmp 0x68983ac0
movzx edx, word [ebp - 0x12]
mov esi, edx
test al, al
jne 0x68984390
test edi, edi
je 0x68984590
test edx, edx
je 0x68983d77
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_memchr]
test eax, eax
je 0x68983d77
sub eax, edi
mov esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._MultiByteToWideChar_24
lea ecx, [eax + 1]
sub esp, 0x18
lea eax, [ecx + ecx]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._HeapAlloc_12
mov ecx, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._MultiByteToWideChar_24
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
sub esp, 0x18
mov word [edx + eax - 2], cx
mov dword [ebx + 0x1c], edx
jmp 0x68983ac0
mov edx, dword [edi]
test al, al
jne 0x68984350
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0x20001004
mov dword [esp], edx
call sym._GetLocaleInfoW_16
sub esp, 0x10
test eax, eax
jne 0x68983ac0
mov dword [ebx + 0x2c], 0
jmp 0x68983ac0
test al, al
jne 0x68984300
mov esi, dword [ebx + 0x24]
call sym._GetProcessHeap_0
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp], eax
call sym._HeapFree_12
movzx esi, word [ebp - 0x12]
sub esp, 0xc
test edi, edi
je 0x689845b0
test esi, esi
je 0x68983ea7
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_memchr]
test eax, eax
je 0x68983ea7
sub eax, edi
mov esi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._MultiByteToWideChar_24
lea edx, [eax + 1]
sub esp, 0x18
lea eax, [edx + edx]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._HeapAlloc_12
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._MultiByteToWideChar_24
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub esp, 0x18
mov word [ecx + eax - 2], si
mov dword [ebx + 0x24], ecx
jmp 0x68983ac0
test al, al
jne 0x689842b0
mov esi, dword [ebx + 0x20]
call sym._GetProcessHeap_0
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp], eax
call sym._HeapFree_12
movzx esi, word [ebp - 0x12]
sub esp, 0xc
test edi, edi
je 0x689845a0
test esi, esi
je 0x68983f97
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_memchr]
test eax, eax
je 0x68983f97
sub eax, edi
mov esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._MultiByteToWideChar_24
lea edx, [eax + 1]
sub esp, 0x18
lea eax, [edx + edx]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._HeapAlloc_12
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._MultiByteToWideChar_24
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
sub esp, 0x18
mov word [ecx + eax - 2], dx
mov dword [ebx + 0x20], ecx
jmp 0x68983ac0
test al, al
jne 0x68984260
mov esi, dword [ebx + 0x28]
call sym._GetProcessHeap_0
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp], eax
call sym._HeapFree_12
movzx esi, word [ebp - 0x12]
sub esp, 0xc
test edi, edi
je 0x68984570
test esi, esi
je 0x68984087
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_memchr]
test eax, eax
je 0x68984087
sub eax, edi
mov esi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._MultiByteToWideChar_24
lea edx, [eax + 1]
sub esp, 0x18
lea eax, [edx + edx]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._HeapAlloc_12
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._MultiByteToWideChar_24
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub esp, 0x18
mov word [ecx + eax - 2], si
mov dword [ebx + 0x28], ecx
jmp 0x68983ac0
test al, al
je 0x68983ac0
movzx eax, word [ebp - 0x12]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], str.unhandled_code__x__size__x_n
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0xa5
mov dword [esp + 0xc], 0x6899333c
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x68983ac0
test edi, edi
je 0x68984480
call sym._GetProcessHeap_0
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapReAlloc_16
mov dword [ebp - 0x24], esi
movzx esi, word [ebp - 0x12]
sub esp, 0x10
mov edi, eax
jmp 0x68983af9
mov esi, eax
call sym._GetProcessHeap_0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
mov eax, dword [ebp - 0x20]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test esi, esi
jns 0x68983b8b
test byte [section..data], 4
je 0x68983b81
mov dword [esp + 0x14], str.Could_not_read_SYSTEM_n
mov dword [esp + 0x10], 0x297
mov dword [esp + 0xc], str.OpenCHM
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 2
call sym._ros_dbg_log
jmp 0x68983b81
test byte [section..data], 4
je 0x68983b81
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.Could_not_open_storage:__08x_n
mov dword [esp + 0x10], 0x28c
jmp 0x68983b5d
movzx eax, word [ebp - 0x12]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._wine_dbgstr_an
mov dword [esp + 0x14], str.TOC_is__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x7a
mov dword [esp + 0xc], 0x6899333c
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x6898403b
movzx eax, word [ebp - 0x12]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._wine_dbgstr_an
mov dword [esp + 0x14], str.Default_topic_is__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x7f
mov dword [esp + 0xc], 0x6899333c
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x68983f4b
movzx eax, word [ebp - 0x12]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._wine_dbgstr_an
mov dword [esp + 0x14], str.Title_is__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x84
mov dword [esp + 0xc], 0x6899333c
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x68983e5b
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], str.Locale_is:__d_n
mov dword [esp + 0x10], 0x8a
mov dword [esp + 0xc], 0x6899333c
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 3
call sym._ros_dbg_log
mov edx, dword [edi]
jmp 0x68983e1d
mov dword [esp + 4], edx
mov dword [esp], edi
call sym._wine_dbgstr_an
mov dword [esp + 0x14], str.Window_name_is__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x90
mov dword [esp + 0xc], 0x6899333c
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 3
call sym._ros_dbg_log
movzx edx, word [ebp - 0x12]
mov esi, edx
jmp 0x68983d4e
movzx eax, word [ebp - 0x12]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._wine_dbgstr_an
mov dword [esp + 0x14], str.Compiled_file_is__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x94
mov dword [esp + 0xc], 0x6899333c
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x68983c58
test byte [section..data], 4
je 0x68983a19
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.Could_not_open_STRINGS_stream:__08x_n
mov dword [esp + 0x10], 0x292
mov dword [esp + 0xc], str.OpenCHM
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 2
call sym._ros_dbg_log
jmp 0x68983a19
call sym._GetProcessHeap_0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapAlloc_12
mov dword [ebp - 0x24], esi
movzx esi, word [ebp - 0x12]
sub esp, 0xc
mov edi, eax
jmp 0x68983af9
mov dword [eax + 8], 0
call sym._GetProcessHeap_0
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [section..data], 4
je 0x68983b81
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.Could_not_open_SYSTEM_stream:__08x_n
mov dword [esp + 0x10], 0x62
mov dword [esp + 0xc], 0x6899333c
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 2
call sym._ros_dbg_log
jmp 0x689841e4
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], str.version_is__x_n
mov dword [esp + 0x10], 0x67
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], 0x6899333c
mov dword [esp + 8], 0x6899304d
mov dword [esp + 4], 0x68992000
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x68983a8e
xor ecx, ecx
jmp 0x6898411b
xor ecx, ecx
jmp 0x68983d38
xor edx, edx
jmp 0x68983e0b
xor ecx, ecx
jmp 0x6898402b
xor ecx, ecx
jmp 0x68983f3b