Function at 0x6d088a7e
Capabilities:
Get geographical location

Disassembly:
push 0x34
mov eax, 0x6d0b3c95
call fcn.6d0b0ca9
xor esi, esi
mov dword [ebp - 4], esi
call fcn.6d09cfff
call fcn.6d05f1d0
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
call fcn.6d087e9f
push edi
push ebx
call fcn.6d08343a
pop ecx
pop ecx
push edi
push ebx
mov dword [ebp - 0x1c], eax
call fcn.6d0833d0
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x1c], esi
je 0x6d088b1a
cmp eax, esi
je 0x6d088b1a
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_GlobalLock]
cmp eax, esi
je 0x6d088cbd
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 0x6d088b22
cmp dword [ebp + 0xc], esi
je 0x6d088b07
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.6d0b0d4e
ret 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call fcn.6d05f1d0
add esp, 0xc
cmp eax, esi
jne 0x6d088b48
cmp dword [ebp - 0x18], esi
je 0x6d088aff
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x6d088aff
mov eax, dword [ebp - 0x18]
test byte [eax + 0x48], 0xe
jne 0x6d088b69
push 1
push dword [0x6d0f7dd4]
mov esi, ebx
push edi
call fcn.6d08639d
add esp, 0xc
jmp 0x6d088ca2
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 0x6d088bd0
lea eax, [esi + esi]
push eax
call fcn.6d05f1d0
pop ecx
mov dword [ebp - 0x24], eax
test eax, eax
je 0x6d088bd0
push esi
push eax
push 0xd
push ebx
call edi
test eax, eax
jle 0x6d088bc6
push dword [ebp - 0x24]
push 0x6d0c03e8
call dword [sym.imp.MSVCR100.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
jne 0x6d088bc6
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 [0x6d0c0058]
fstp qword [esp]
call fcn.6d08631c
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 [0x6d0c0058]
fstp qword [esp]
call fcn.6d08631c
fld qword [0x6d0c0058]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
fstp qword [esp]
call fcn.6d08631c
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.6d086101
push dword [ebp - 0x14]
lea edi, [ebp - 0x30]
push eax
lea ebx, [ebp - 0x3c]
mov dword [ebp - 0x40], eax
call fcn.6d05f1d0
push dword [ebp - 0x40]
push dword [ebp + 0x10]
call fcn.6d086130
mov eax, dword [ebp - 0x18]
add esp, 0x1c
test byte [eax + 0x48], 1
je 0x6d088c95
cmp word [eax + 0x4c], 2
jne 0x6d088c95
and dword [ebp - 0x34], 0
push dword [ebp - 0x34]
push dword [ebp + 0x10]
call fcn.6d086163
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 0x6d088b1a