Function at 0x6d198a7e
Capabilities:
Get geographical location

Disassembly:
push 0x34
mov eax, 0x6d1c3c95
call fcn.6d1c0ca9
xor esi, esi
mov dword [ebp - 4], esi
call fcn.6d1acfff
call fcn.6d180d61
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
call fcn.6d197e9f
push edi
push ebx
call fcn.6d19343a
pop ecx
pop ecx
push edi
push ebx
mov dword [ebp - 0x1c], eax
call fcn.6d1933d0
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x1c], esi
je 0x6d198b1a
cmp eax, esi
je 0x6d198b1a
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_GlobalLock]
cmp eax, esi
je 0x6d198cbd
movzx ecx, word [eax + 2]
lea eax, [eax + ecx*2]
push eax
call dword [sym.imp.MSVCR100.dll__wcsdup]
pop ecx
push esi
lea ecx, [ebp + 0xc]
push ecx
push eax
mov dword [ebp - 0x20], eax
mov dword [ebp + 0xc], esi
call sub.WINSPOOL.DRV_OpenPrinterW
test eax, eax
jne 0x6d198b22
cmp dword [ebp + 0xc], esi
je 0x6d198b07
push dword [ebp + 0xc]
call sub.WINSPOOL.DRV_ClosePrinter
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push dword [ebp - 0x20]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
call fcn.6d1c0d4e
ret 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call fcn.6d180d61
add esp, 0xc
cmp eax, esi
jne 0x6d198b48
cmp dword [ebp - 0x18], esi
je 0x6d198aff
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x6d198aff
mov eax, dword [ebp - 0x18]
test byte [eax + 0x48], 0xe
jne 0x6d198b69
push 1
push dword [0x6d207dd4]
mov esi, ebx
push edi
call fcn.6d19639d
add esp, 0xc
jmp 0x6d198ca2
mov edi, dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push esi
push esi
push 0xd
mov ebx, 0x400
push ebx
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x14], 5
call edi
mov esi, eax
test esi, esi
jle 0x6d198bd0
lea eax, [esi + esi]
push eax
call fcn.6d180d61
pop ecx
mov dword [ebp - 0x24], eax
test eax, eax
je 0x6d198bd0
push esi
push eax
push 0xd
push ebx
call edi
test eax, eax
jle 0x6d198bc6
push dword [ebp - 0x24]
push 0x6d1d03e8
call dword [sym.imp.MSVCR100.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
jne 0x6d198bc6
mov dword [ebp - 0x14], 3
push dword [ebp - 0x24]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
mov esi, dword [ebp - 0x38]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x6e
push esi
call edi
push 0x6f
push esi
mov dword [ebp - 0x38], eax
call edi
push 0x58
push esi
mov dword [ebp - 0x40], eax
call edi
fild dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
fidiv dword [ebp - 0x24]
push ecx
push ecx
fmul qword [0x6d1d0058]
fstp qword [esp]
call fcn.6d19631c
fild dword [ebp - 0x40]
pop ecx
pop ecx
push 0x5a
push esi
fstp qword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
call edi
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
push ecx
push ecx
fdivr qword [ebp - 0x28]
fmul qword [0x6d1d0058]
fstp qword [esp]
call fcn.6d19631c
fld qword [0x6d1d0058]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
fstp qword [esp]
call fcn.6d19631c
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
call fcn.6d196101
push dword [ebp - 0x14]
lea edi, [ebp - 0x30]
push eax
lea ebx, [ebp - 0x3c]
mov dword [ebp - 0x40], eax
call fcn.6d180d61
push dword [ebp - 0x40]
push dword [ebp + 0x10]
call fcn.6d196130
mov eax, dword [ebp - 0x18]
add esp, 0x1c
test byte [eax + 0x48], 1
je 0x6d198c95
cmp word [eax + 0x4c], 2
jne 0x6d198c95
and dword [ebp - 0x34], 0
push dword [ebp - 0x34]
push dword [ebp + 0x10]
call fcn.6d196163
pop ecx
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_GlobalFree]
push dword [ebp - 0x20]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
push dword [ebp + 0xc]
call sub.WINSPOOL.DRV_ClosePrinter
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_GlobalUnlock]
jmp 0x6d198b1a