Function at 0x6d19868f
Capabilities:
Get geographical location

Disassembly:
push ebp
sub esp, 0x6c
lea ebp, [esp - 4]
mov eax, dword [0x6d208610]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push 0x30
mov eax, 0x6d1c3c70
call fcn.6d1c0ca9
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.6d1acfff
call fcn.6d180d61
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x54]
push dword [0x6d20b05c]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
mov eax, dword [esi]
push esi
call dword [eax + 0x17c]
push dword [0x6d20b140]
mov dword [ebp], eax
push dword [ebp - 0x20]
mov eax, dword [esi]
push esi
call dword [eax + 0x17c]
push dword [0x6d20b14c]
mov dword [ebp - 0x14], eax
push dword [ebp]
mov eax, dword [esi]
push esi
call dword [eax + 0x17c]
push dword [0x6d20b148]
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 0x6d198741
push dword [0x6d20b070]
mov eax, dword [esi]
push dword [ebp - 0x14]
push esi
call dword [eax + 0x194]
mov dword [ebp - 0x28], edx
mov edi, eax
jmp 0x6d198743
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 [0x6d20b1e4]
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], 0x6d197022
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x68], ebx
call fcn.6d193405
add esp, 0x14
cmp eax, ebx
je 0x6d198837
push dword [ebp + 0x10]
push esi
call fcn.6d19343a
pop ecx
pop ecx
cmp eax, ebx
je 0x6d198837
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 0x6d198813
add eax, eax
push eax
call fcn.6d180d61
pop ecx
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x6d198813
push dword [ebp - 0x18]
push eax
push 0xd
push edi
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
cmp eax, ebx
jle 0x6d198809
push dword [ebp + 8]
push 0x6d1d03e8
call dword [sym.imp.MSVCR100.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
jne 0x6d198809
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.6d193405
pop ecx
pop ecx
push dword [ebp + 0x10]
mov dword [ebp + 0x20], eax
push esi
call fcn.6d19343a
pop ecx
pop ecx
mov dword [ebp + 0x24], eax
jmp 0x6d19884f
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.COMDLG32.dll_PageSetupDlgW]
cmp dword [ebp + 0x20], ebx
jne 0x6d19884f
cmp dword [ebp + 0x24], ebx
je 0x6d198a57
push dword [ebp + 0x10]
push esi
call fcn.6d1933d0
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.6d180d61
add esp, 0x10
mov dword [ebp + 0x5c], 0x6d197022
mov dword [ebp + 0x28], 0x2002
call fcn.6d187449
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.COMDLG32.dll_PageSetupDlgW]
cmp eax, ebx
je 0x6d1989c5
push dword [ebp + 4]
call fcn.6d196101
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 0x6d19893a
push dword [ebp + 0x24]
call dword [sym.imp.kernel32.dll_GlobalLock]
cmp eax, ebx
je 0x6d198931
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 0x6d198907
push 0xffffffffffffffff
push dword [ebp + 0xc]
call edi
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
je 0x6d198922
push dword [ebp + 0x10]
push esi
call fcn.6d1933d0
pop ecx
pop ecx
cmp eax, ebx
je 0x6d198922
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
push esi
call fcn.6d1933e7
add esp, 0xc
push dword [ebp + 0x24]
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push dword [ebp + 0x10]
push esi
call fcn.6d1933d0
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.6d180d61
push dword [ebp - 0x28]
lea edi, [ebp - 0x3c]
push dword [ebp + 8]
lea ebx, [ebp - 0x1c]
call fcn.6d180d61
push dword [ebp + 8]
push dword [ebp + 4]
call fcn.6d196130
push dword [ebp + 0xc]
push dword [ebp + 4]
call fcn.6d196163
add esp, 0x2c
cmp dword [ebp + 0x20], 0
je 0x6d1989bf
push dword [ebp + 0x20]
call dword [sym.imp.kernel32.dll_GlobalLock]
test eax, eax
je 0x6d1989b6
test byte [eax + 0x48], 2
je 0x6d1989b6
movzx eax, word [eax + 0x4e]
push eax
push dword [0x6d207da4]
mov eax, esi
push dword [ebp + 0x10]
call fcn.6d197538
add esp, 0xc
push dword [ebp + 0x20]
call dword [sym.imp.kernel32.dll_GlobalUnlock]
mov byte [ebp + 0x17], 1
xor ebx, ebx
call fcn.6d18669f
push dword [ebp - 0x24]
push dword [ebp]
push ebx
call fcn.6d180d61
mov edi, dword [ebp + 0x10]
add esp, 0xc
push edi
push esi
call fcn.6d193405
pop ecx
pop ecx
cmp dword [ebp + 0x20], eax
je 0x6d1989f7
push dword [ebp + 0x20]
push edi
push esi
call fcn.6d19341c
add esp, 0xc
push edi
push esi
call fcn.6d19343a
pop ecx
pop ecx
cmp dword [ebp + 0x24], eax
je 0x6d198a12
push dword [ebp + 0x24]
push edi
push esi
call fcn.6d193451
add esp, 0xc
push dword [ebp - 0x20]
mov eax, dword [esi]
push esi
call dword [eax + 0x58]
cmp dword [ebp], ebx
je 0x6d198a29
push dword [ebp]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
cmp dword [ebp - 0x14], ebx
je 0x6d198a37
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 0x6d198a59
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.6d1c0acb
add ebp, 0x70
leave
ret 8