Function at 0x6d09f1c2
Capabilities:
Get geographical location

Disassembly:
push 0x44
mov eax, 0x6d0b78b9
call fcn.6d0b4001
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.6d0af51c
call fcn.6d0a44f0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, esi
call fcn.6d09e3f3
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
jne 0x6d09f26d
push edi
push esi
call fcn.6d099257
pop ecx
pop ecx
push edi
push esi
mov dword [ebp - 0x20], eax
call fcn.6d0991ed
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x20], ebx
je 0x6d09f26d
cmp eax, ebx
je 0x6d09f26d
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x6d09f446
movzx ecx, word [eax + 2]
lea eax, [eax + ecx*2]
push eax
call dword [sym.imp.MSVCR100.dll__wcsdup]
pop ecx
push ebx
lea ecx, [ebp + 0xc]
push ecx
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp + 0xc], ebx
call sub.WINSPOOL.DRV_OpenPrinterW
test eax, eax
jne 0x6d09f275
cmp dword [ebp + 0xc], ebx
je 0x6d09f25a
push dword [ebp + 0xc]
call sub.WINSPOOL.DRV_ClosePrinter
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x24]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
call fcn.6d0b40a6
ret 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
push dword [ebp + 0xc]
call fcn.6d09a61b
add esp, 0xc
cmp eax, ebx
jne 0x6d09f29b
cmp dword [ebp - 0x1c], ebx
je 0x6d09f252
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x6d09f252
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x48], 0xe
jne 0x6d09f2bb
push dword [0x6d0fb394]
mov al, 1
push edi
push esi
call fcn.6d09c79b
add esp, 0xc
jmp 0x6d09f42b
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
push 0xd
mov edi, 0x400
push edi
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x18], 5
call esi
mov ebx, eax
test ebx, ebx
jle 0x6d09f337
cmp ebx, 0xffffffff
ja 0x6d09f454
cmp ebx, 0x7fffffff
ja 0x6d09f454
lea eax, [ebx + ebx]
push eax
call fcn.6d0af480
pop ecx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x6d09f337
push ebx
push eax
push 0xd
push edi
call esi
test eax, eax
jle 0x6d09f32d
push dword [ebp - 0x28]
push 0x6d0d5278
call dword [sym.imp.MSVCR100.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
jne 0x6d09f32d
mov dword [ebp - 0x18], 3
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
mov edi, dword [ebp - 0x30]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x6e
push edi
call esi
push 0x6f
push edi
mov dword [ebp - 0x30], eax
call esi
push 0x58
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x5a
push edi
mov dword [ebp - 0x28], eax
call esi
fild dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
fidiv dword [ebp - 0x28]
push ecx
push ecx
fild dword [ebp - 0x34]
fidiv dword [ebp - 0x3c]
fstp qword [ebp - 0x40]
fmul qword [0x6d0d4e30]
fstp qword [esp]
call fcn.6d09c6f3
fld qword [ebp - 0x40]
mov dword [ebp - 0x38], eax
fmul qword [0x6d0d4e30]
mov eax, dword [ebp - 0x18]
fstp qword [esp]
call fcn.6d09c6f3
fld qword [0x6d0d4e30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
fstp qword [esp]
call fcn.6d09c6f3
mov ebx, dword [ebp + 8]
push dword [ebp + 0x10]
mov esi, ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
call fcn.6d09c49f
add esp, 0xc
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x6d09f42b
push dword [ebp - 0x18]
lea esi, [ebp - 0x50]
push eax
lea edi, [ebp - 0x38]
call fcn.6d09db11
pop ecx
pop ecx
mov esi, ebx
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
jne 0x6d09f42b
push dword [ebp - 0x3c]
push dword [ebp + 0x10]
call fcn.6d09c4d3
mov eax, dword [esi]
pop ecx
pop ecx
push esi
call dword [eax + 0x390]
test al, al
jne 0x6d09f42b
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x48], 1
je 0x6d09f41e
cmp word [eax + 0x4c], 2
jne 0x6d09f41e
and dword [ebp - 0x2c], 0
push dword [ebp - 0x2c]
push dword [ebp + 0x10]
call fcn.6d09c50a
pop ecx
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x24]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
push dword [ebp + 0xc]
call sub.WINSPOOL.DRV_ClosePrinter
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x6d09f26d
xor eax, eax
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x11], al
push 0x6d0d93c8
lea eax, [ebp - 0x11]
push eax
call sub.MSVCR100.dll__CxxThrowException
call fcn.6d0af53b
mov eax, 0x6d09f479
ret