Function at 0x6eb43e30
Capabilities:
Get geographical location

Disassembly:
push ebp
mov eax, 0x30
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [esp + 4], eax
mov esi, dword [esp + 0x70]
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
test eax, eax
mov ebx, eax
je 0x6eb440ba
mov dword [eax + 0x2c], 0
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebx + 8], eax
test eax, eax
je 0x6eb44947
mov dword [esp + 0x10], ebx
mov eax, 0x6eb56844
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], 0x6eb56834
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x6eb446d0
mov eax, dword [ebx]
lea ecx, [ebx + 4]
xor edi, edi
mov ebp, 0x20
mov edx, dword [eax]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x1c
test eax, eax
js 0x6eb44710
mov eax, dword [ebx + 4]
lea ecx, [ebx + 0xc]
xor esi, esi
xor edi, edi
mov ebp, str.STRINGS
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
js 0x6eb44110
mov eax, 0xdeadbeef
xor esi, esi
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x40]
xor edi, edi
mov ebp, str.SYSTEM
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
test eax, eax
js 0x6eb44048
mov eax, dword [esp + 0x40]
lea edi, [esp + 0x48]
mov ecx, 4
mov edx, dword [eax]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0xc], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test byte [0x6eb53018], 8
jne 0x6eb44750
mov dword [esp], 0x20
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov edi, 0x20
mov dword [esp + 0x30], eax
call eax
mov dword [esp + 0x2c], edi
mov edi, ebx
mov ebp, eax
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esp + 0x40]
lea esi, [esp + 0x48]
lea ecx, [esp + 0x4c]
mov edx, dword [eax]
mov dword [esp + 0xc], esi
mov esi, 4
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0x6eb446a0
movzx ebx, word [esp + 0x4e]
cmp ebx, dword [esp + 0x2c]
ja 0x6eb44680
mov eax, dword [esp + 0x40]
lea esi, [esp + 0x48]
mov edx, dword [eax]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0x6eb446a0
movzx edx, word [esp + 0x4c]
movzx eax, byte [0x6eb53018]
and al, 8
cmp edx, 0xf
ja case.0x6eb4403d.1
jmp dword [edx*4 + 0x6eb552cc]
test byte [0x6eb53018], 4
je 0x6eb440b0
mov esi, str.Could_not_open_SYSTEM_stream:__08lx_n
mov edi, 0x6eb5530c
mov dword [esp + 0x10], eax
mov ebp, 0x6eb53018
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
test byte [0x6eb53018], 4
je 0x6eb440b0
mov eax, str.Could_not_read_SYSTEM_n
mov edx, str.OpenCHM
mov dword [esp + 0xc], eax
mov ecx, 0x6eb53018
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
lea esi, [esi]
mov dword [esp], ebx
call sym._CloseCHM
mov ebx, eax
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test al, al
je 0x6eb43fc0
movzx eax, word [esp + 0x4e]
mov ebx, str.unhandled_code__x__size__x_n
mov esi, 0x6eb5530c
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
mov eax, 0x6eb53018
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6eb43fc0
test byte [0x6eb53018], 4
je 0x6eb43f1d
mov dword [esp + 0x10], eax
mov eax, str.Could_not_open_STRINGS_stream:__08lx_n
mov dword [esp + 0xc], eax
mov eax, str.OpenCHM
mov dword [esp + 8], eax
mov eax, 0x6eb53018
mov dword [esp + 4], eax
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6eb43f1d
test al, al
je 0x6eb43fc0
mov eax, dword [ebp]
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, str.Check_sum:__lx_n
mov dword [esp + 0xc], eax
mov eax, 0x6eb5530c
mov dword [esp + 8], eax
mov eax, 0x6eb53018
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x6eb43fc0
test al, al
je 0x6eb43fc0
mov eax, dword [ebp]
mov edx, 0x6eb5530c
mov ecx, 0x6eb53018
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, str.Number_of_info_types:__ld_n
mov dword [esp + 0xc], eax
call sym._wine_dbg_log.constprop.0
jmp 0x6eb43fc0
test al, al
je 0x6eb43fc0
mov eax, dword [ebp]
mov ebx, str.Time_is__08lx_n
mov esi, 0x6eb5530c
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, 0x6eb53018
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x6eb43fc0
test al, al
je 0x6eb43fc0
movzx edx, word [esp + 0x4e]
mov eax, ebp
call sym._wine_dbgstr_an
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, str.Version_is__s_n
mov dword [esp + 0xc], eax
mov eax, 0x6eb5530c
mov dword [esp + 8], eax
mov eax, 0x6eb53018
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x6eb43fc0
test al, al
jne 0x6eb448c0
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test ebp, ebp
movzx esi, word [esp + 0x4e]
je 0x6eb44930
test esi, esi
je 0x6eb44298
mov dword [esp + 8], esi
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], ebp
call dword [sym.imp.ucrtbase.dll_memchr]
test eax, eax
je 0x6eb44298
sub eax, ebp
mov esi, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 4], ecx
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
xor eax, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
mov dword [esp + 8], ebp
mov dword [esp], 0
mov dword [esp + 0x3c], ecx
call ecx
inc eax
sub esp, 0x18
mov dword [esp + 0x34], eax
lea edx, [eax + eax]
mov ecx, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 0x38], edx
call ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp], 0
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
call ecx
sub esp, 0x18
mov edx, dword [esp + 0x38]
mov word [ebx + edx - 2], 0
mov dword [edi + 0x18], ebx
jmp 0x6eb43fc0
movzx edx, word [esp + 0x4e]
test al, al
mov esi, edx
jne 0x6eb44880
test ebp, ebp
je 0x6eb44940
test edx, edx
je 0x6eb44356
mov dword [esp + 8], edx
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], ebp
call dword [sym.imp.ucrtbase.dll_memchr]
test eax, eax
je 0x6eb44356
sub eax, ebp
mov esi, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 4], ecx
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
xor eax, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
mov dword [esp + 8], ebp
mov dword [esp], 0
mov dword [esp + 0x3c], ecx
call ecx
inc eax
sub esp, 0x18
mov dword [esp + 0x34], eax
lea edx, [eax + eax]
mov ecx, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 0x38], edx
call ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp], 0
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
call ecx
sub esp, 0x18
mov edx, dword [esp + 0x38]
mov word [ebx + edx - 2], 0
mov dword [edi + 0x1c], ebx
jmp 0x6eb43fc0
test al, al
mov edx, dword [ebp]
jne 0x6eb44788
mov dword [esp], edx
mov eax, 2
mov ecx, 0x20001004
mov dword [esp + 0xc], eax
lea eax, [edi + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
sub esp, 0x10
test eax, eax
jne 0x6eb43fc0
mov dword [edi + 0x2c], 0
jmp 0x6eb43fc0
test al, al
jne 0x6eb44840
mov eax, dword [edi + 0x20]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test ebp, ebp
movzx esi, word [esp + 0x4e]
je 0x6eb44910
test esi, esi
je 0x6eb44468
mov dword [esp + 8], esi
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], ebp
call dword [sym.imp.ucrtbase.dll_memchr]
test eax, eax
je 0x6eb44468
sub eax, ebp
mov esi, eax
mov dword [esp + 0xc], esi
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [esp + 0x3c], ecx
call ecx
inc eax
sub esp, 0x18
mov dword [esp + 0x34], eax
lea edx, [eax + eax]
mov ecx, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 0x38], edx
call ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov dword [esp], 0
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 4], eax
call ecx
sub esp, 0x18
mov edx, dword [esp + 0x38]
mov word [ebx + edx - 2], 0
mov dword [edi + 0x20], ebx
jmp 0x6eb43fc0
test al, al
jne 0x6eb44800
mov eax, dword [edi + 0x28]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test ebp, ebp
movzx esi, word [esp + 0x4e]
je 0x6eb44920
test esi, esi
je 0x6eb44530
mov dword [esp + 8], esi
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], ebp
call dword [sym.imp.ucrtbase.dll_memchr]
test eax, eax
je 0x6eb44530
sub eax, ebp
mov esi, eax
mov dword [esp + 0xc], esi
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [esp + 0x3c], ecx
call ecx
inc eax
sub esp, 0x18
mov dword [esp + 0x34], eax
lea edx, [eax + eax]
mov ecx, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 0x38], edx
call ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov dword [esp], 0
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 4], eax
call ecx
sub esp, 0x18
mov edx, dword [esp + 0x38]
mov word [ebx + edx - 2], 0
mov dword [edi + 0x28], ebx
jmp 0x6eb43fc0
test al, al
jne 0x6eb447c0
mov eax, dword [edi + 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test ebp, ebp
movzx esi, word [esp + 0x4e]
je 0x6eb44900
test esi, esi
je 0x6eb445f8
mov dword [esp + 8], esi
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp], ebp
call dword [sym.imp.ucrtbase.dll_memchr]
test eax, eax
je 0x6eb445f8
sub eax, ebp
mov esi, eax
mov dword [esp + 0xc], esi
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [esp + 0x3c], ecx
call ecx
inc eax
sub esp, 0x18
mov dword [esp + 0x34], eax
lea edx, [eax + eax]
mov ecx, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 0x38], edx
call ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov dword [esp], 0
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 4], eax
call ecx
sub esp, 0x18
mov edx, dword [esp + 0x38]
mov word [ebx + edx - 2], 0
mov dword [edi + 0x24], ebx
jmp 0x6eb43fc0
mov dword [esp + 4], ebx
mov dword [esp], ebp
call dword [sym.imp.ucrtbase.dll_realloc]
mov dword [esp + 0x2c], ebx
movzx ebx, word [esp + 0x4e]
mov ebp, eax
jmp 0x6eb43fff
mov dword [esp], ebp
mov esi, eax
mov ebx, edi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test esi, esi
js 0x6eb4407c
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x6eb53018], 4
je 0x6eb440b0
mov esi, str.Could_not_create_ITStorage:__08lx_n
mov edi, str.OpenCHM
mov dword [esp + 0x10], eax
mov ebp, 0x6eb53018
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6eb440b0
test byte [0x6eb53018], 4
je 0x6eb440b0
mov dword [esp + 0x10], eax
mov eax, str.Could_not_open_storage:__08lx_n
mov dword [esp + 0xc], eax
mov eax, str.OpenCHM
mov dword [esp + 8], eax
mov eax, 0x6eb53018
mov dword [esp + 4], eax
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6eb440b0
mov dword [esp], 3
mov eax, dword [esp + 0x44]
mov ebp, str.version_is__lx_n
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov eax, 0x6eb5530c
mov dword [esp + 8], eax
mov eax, 0x6eb53018
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x6eb43f94
mov eax, 0x6eb53018
mov ebx, str.Locale_is:__ld_n
mov dword [esp + 0x10], edx
mov esi, 0x6eb5530c
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp]
jmp 0x6eb443eb
movzx edx, word [esp + 0x4e]
mov eax, ebp
mov ebx, 0x6eb5530c
mov esi, 0x6eb53018
call sym._wine_dbgstr_an
mov ecx, str.Title_is__s_n
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
jmp 0x6eb445c0
movzx edx, word [esp + 0x4e]
mov eax, ebp
mov ebx, 0x6eb53018
call sym._wine_dbgstr_an
mov edx, str.TOC_is__s_n
mov ecx, 0x6eb5530c
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
jmp 0x6eb444f8
movzx edx, word [esp + 0x4e]
mov eax, ebp
mov ebx, 0x6eb53018
call sym._wine_dbgstr_an
mov edx, str.Default_topic_is__s_n
mov ecx, 0x6eb5530c
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], 3
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0
jmp 0x6eb44430
mov eax, ebp
call sym._wine_dbgstr_an
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, str.Window_name_is__s_n
mov dword [esp + 0xc], eax
mov eax, 0x6eb5530c
mov dword [esp + 8], eax
mov eax, 0x6eb53018
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
movzx edx, word [esp + 0x4e]
mov esi, edx
jmp 0x6eb4432f
movzx edx, word [esp + 0x4e]
mov eax, ebp
call sym._wine_dbgstr_an
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, str.Compiled_file_is__s_n
mov dword [esp + 0xc], eax
mov eax, 0x6eb5530c
mov dword [esp + 8], eax
mov eax, 0x6eb53018
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0
jmp 0x6eb44260
xor ebx, ebx
jmp 0x6eb44674
xor ebx, ebx
jmp 0x6eb444e4
xor ebx, ebx
jmp 0x6eb445ac
xor ebx, ebx
jmp 0x6eb44314
xor ebx, ebx
jmp 0x6eb443d2
mov dword [esp], ebx
xor ebx, ebx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x6eb440ba