Function at 0x10078d1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
xor ebx, ebx
push 0x31
mov dword [ebp - 0xc], ebx
call esi
push 0x10
pop edi
cmp eax, edi
mov dword [ebp - 4], eax
jae 0x10078f9
mov dword [ebp - 4], edi
push 0x32
call esi
cmp eax, edi
mov dword [ebp - 8], eax
jae 0x1007907
mov dword [ebp - 8], edi
push 0x14
lea eax, [ebp - 0x68]
push eax
movzx eax, word [ebp + 8]
push 0x80000003
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
mov word [ebp - 0x64], bx
jne 0x1007931
mov word [ebp - 0x68], 0x3f
mov word [ebp - 0x66], 0x3f
push ebx
lea eax, [ebp - 0xc4]
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x1007ab8
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x1007ab8
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
cmp esi, ebx
je 0x1007aaf
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 8]
mov edi, eax
push dword [ebp - 4]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
push ebx
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp + 8], ebx
je 0x1007aaf
cmp edi, ebx
je 0x1007aaf
push ebx
push 1
push 1
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateBitmap]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1007a9f
push dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
push 0xd
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push ebx
push ebx
push 0x1001eb8
lea eax, [ebp - 0x28]
push eax
push 2
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push edi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call esi
push dword [ebp - 0x14]
push edi
call esi
push 0x25
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push 2
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetProcessDefaultLayout]
push dword [ebp - 0x10]
push edi
call esi
push 0x42
push dword [ebp - 8]
push dword [ebp - 4]
push ebx
push ebx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
push dword [ebp - 0xc]
push edi
call esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x30], ebx
call dword [sym.imp.USER32.dll_CreateIconIndirect]
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x18]
push edi
call esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 4