Function at 0x1007b4e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x1028aa8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
xor ebx, ebx
push 0x31
mov dword [ebp - 4], eax
mov dword [ebp - 0x94], ebx
call esi
push 0x10
pop edi
cmp eax, edi
mov dword [ebp - 0x8c], eax
jae 0x1007b89
mov dword [ebp - 0x8c], edi
push 0x32
call esi
cmp eax, edi
mov dword [ebp - 0x90], eax
jae 0x1007b9d
mov dword [ebp - 0x90], edi
push 0x14
lea eax, [ebp - 0x2c]
push eax
movzx eax, word [ebp + 8]
push 0x80000003
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
mov word [ebp - 0x28], bx
jne 0x1007bc7
mov word [ebp - 0x2c], 0x3f
mov word [ebp - 0x2a], 0x3f
push ebx
lea eax, [ebp - 0x88]
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x1007dc3
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
cmp eax, ebx
mov dword [ebp - 0x9c], eax
je 0x1007dc3
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
cmp esi, ebx
je 0x1007db7
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x90]
mov edi, eax
push dword [ebp - 0x8c]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
push ebx
mov dword [ebp - 0x98], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x98], ebx
je 0x1007db7
cmp edi, ebx
je 0x1007db7
push ebx
push 1
push 1
push dword [ebp - 0x90]
push dword [ebp - 0x8c]
call dword [sym.imp.GDI32.dll_CreateBitmap]
cmp eax, ebx
mov dword [ebp - 0xa0], eax
je 0x1007da4
push dword [ebp - 0x98]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x90]
push 0xd
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa4], 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 0x1001d88
lea eax, [ebp - 0xb0]
push eax
push 2
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
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 - 0x9c]
push edi
call esi
push 0x25
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb0]
push eax
push 2
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.USER32.dll_GetProcessDefaultLayout]
push dword [ebp - 0xa0]
push edi
call esi
push 0x42
push dword [ebp - 0x90]
push dword [ebp - 0x8c]
push ebx
push ebx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
push dword [ebp - 0x94]
push edi
call esi
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
mov ebx, dword [ebp - 0xa0]
lea eax, [ebp - 0xc8]
push eax
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xbc], ebx
call dword [sym.imp.USER32.dll_CreateIconIndirect]
push ebx
mov dword [ebp - 0x94], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0xb4]
push edi
call esi
push dword [ebp - 0x98]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x9c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x94]
pop edi
pop esi
pop ebx
call fcn.0100b845
leave
ret 4