Function at 0x6d08868f
Capabilities:
Get geographical location

Disassembly:
push ebp
sub esp, 0x6c
lea ebp, [esp - 4]
mov eax, dword [0x6d0f8610]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push 0x30
mov eax, 0x6d0b3c70
call fcn.6d0b0ca9
mov edi, dword [ebp + 0x7c]
mov esi, dword [ebp + 0x78]
xor ebx, ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], ebx
call fcn.6d09cfff
call fcn.6d05f1d0
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x54]
push dword [0x6d0fb05c]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
mov eax, dword [esi]
push esi
call dword [eax + 0x17c]
push dword [0x6d0fb140]
mov dword [ebp], eax
push dword [ebp - 0x20]
mov eax, dword [esi]
push esi
call dword [eax + 0x17c]
push dword [0x6d0fb14c]
mov dword [ebp - 0x14], eax
push dword [ebp]
mov eax, dword [esi]
push esi
call dword [eax + 0x17c]
push dword [0x6d0fb148]
mov dword [ebp + 4], eax
push dword [ebp]
mov eax, dword [esi]
push esi
call dword [eax + 0x17c]
mov dword [ebp + 0x10], eax
cmp dword [ebp - 0x14], ebx
je 0x6d088741
push dword [0x6d0fb070]
mov eax, dword [esi]
push dword [ebp - 0x14]
push esi
call dword [eax + 0x194]
mov dword [ebp - 0x28], edx
mov edi, eax
jmp 0x6d088743
xor edi, edi
push 0x54
lea eax, [ebp + 0x18]
push ebx
push eax
mov byte [ebp + 0x17], bl
call sub.MSVCR100.dll_memset
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
neg edi
sbb edi, edi
and edi, dword [0x6d0fb1e4]
push esi
mov dword [ebp + 0x1c], edi
mov edi, 0x400
mov dword [ebp + 0x18], 0x54
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], 0x6d087022
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x68], ebx
call fcn.6d083405
add esp, 0x14
cmp eax, ebx
je 0x6d088837
push dword [ebp + 0x10]
push esi
call fcn.6d08343a
pop ecx
pop ecx
cmp eax, ebx
je 0x6d088837
push ebx
push ebx
push 0xd
push edi
mov dword [ebp + 0xc], 4
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jle 0x6d088813
add eax, eax
push eax
call fcn.6d05f1d0
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x6d088813
push dword [ebp - 0x18]
push eax
push 0xd
push edi
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
cmp eax, ebx
jle 0x6d088809
push dword [ebp + 8]
push 0x6d0c03e8
call dword [sym.imp.MSVCR100.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
jne 0x6d088809
mov dword [ebp + 0xc], 8
push dword [ebp + 8]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
or dword [ebp + 0x28], eax
push esi
call fcn.6d083405
pop ecx
pop ecx
push dword [ebp + 0x10]
mov dword [ebp + 0x20], eax
push esi
call fcn.6d08343a
pop ecx
pop ecx
mov dword [ebp + 0x24], eax
jmp 0x6d08884f
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.COMDLG32.dll_PageSetupDlgW]
cmp dword [ebp + 0x20], ebx
jne 0x6d08884f
cmp dword [ebp + 0x24], ebx
je 0x6d088a57
push dword [ebp + 0x10]
push esi
call fcn.6d0833d0
pop ecx
pop ecx
push eax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 4]
mov eax, esi
push dword [ebp + 0x10]
call fcn.6d05f1d0
add esp, 0x10
mov dword [ebp + 0x5c], 0x6d087022
mov dword [ebp + 0x28], 0x2002
call fcn.6d077449
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.COMDLG32.dll_PageSetupDlgW]
cmp eax, ebx
je 0x6d0889c5
push dword [ebp + 4]
call fcn.6d086101
test byte [ebp + 0x28], 4
pop ecx
mov dword [ebp + 8], eax
push 0
pop eax
setne al
lea eax, [eax + eax + 3]
mov dword [ebp - 0x28], eax
cmp dword [ebp + 0x24], ebx
je 0x6d08893a
push dword [ebp + 0x24]
call dword [sym.imp.kernel32.dll_GlobalLock]
cmp eax, ebx
je 0x6d088931
movzx ecx, word [eax + 2]
mov edi, dword [sym.imp.MSVCR100.dll__control87]
lea eax, [eax + ecx*2]
push ebx
push ebx
mov dword [ebp - 0x18], eax
call edi
pop ecx
pop ecx
push ebx
push ebx
push dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
push str.WINSPOOL
call dword [sym.imp.GDI32.dll_CreateDCW]
push ebx
push ebx
mov dword [ebp - 0x18], eax
call edi
pop ecx
pop ecx
cmp eax, dword [ebp + 0xc]
je 0x6d088907
push 0xffffffffffffffff
push dword [ebp + 0xc]
call edi
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
je 0x6d088922
push dword [ebp + 0x10]
push esi
call fcn.6d0833d0
pop ecx
pop ecx
cmp eax, ebx
je 0x6d088922
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
push esi
call fcn.6d0833e7
add esp, 0xc
push dword [ebp + 0x24]
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push dword [ebp + 0x10]
push esi
call fcn.6d0833d0
pop ecx
pop ecx
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.6d05f1d0
push dword [ebp - 0x28]
lea edi, [ebp - 0x3c]
push dword [ebp + 8]
lea ebx, [ebp - 0x1c]
call fcn.6d05f1d0
push dword [ebp + 8]
push dword [ebp + 4]
call fcn.6d086130
push dword [ebp + 0xc]
push dword [ebp + 4]
call fcn.6d086163
add esp, 0x2c
cmp dword [ebp + 0x20], 0
je 0x6d0889bf
push dword [ebp + 0x20]
call dword [sym.imp.kernel32.dll_GlobalLock]
test eax, eax
je 0x6d0889b6
test byte [eax + 0x48], 2
je 0x6d0889b6
movzx eax, word [eax + 0x4e]
push eax
push dword [0x6d0f7da4]
mov eax, esi
push dword [ebp + 0x10]
call fcn.6d087538
add esp, 0xc
push dword [ebp + 0x20]
call dword [sym.imp.kernel32.dll_GlobalUnlock]
mov byte [ebp + 0x17], 1
xor ebx, ebx
call fcn.6d07669f
push dword [ebp - 0x24]
push dword [ebp]
push ebx
call fcn.6d05f1d0
mov edi, dword [ebp + 0x10]
add esp, 0xc
push edi
push esi
call fcn.6d083405
pop ecx
pop ecx
cmp dword [ebp + 0x20], eax
je 0x6d0889f7
push dword [ebp + 0x20]
push edi
push esi
call fcn.6d08341c
add esp, 0xc
push edi
push esi
call fcn.6d08343a
pop ecx
pop ecx
cmp dword [ebp + 0x24], eax
je 0x6d088a12
push dword [ebp + 0x24]
push edi
push esi
call fcn.6d083451
add esp, 0xc
push dword [ebp - 0x20]
mov eax, dword [esi]
push esi
call dword [eax + 0x58]
cmp dword [ebp], ebx
je 0x6d088a29
push dword [ebp]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
cmp dword [ebp - 0x14], ebx
je 0x6d088a37
push dword [ebp - 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
push dword [ebp + 4]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x5c]
mov al, byte [ebp + 0x17]
jmp 0x6d088a59
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.6d0b0acb
add ebp, 0x70
leave
ret 8