Function at 0x140007f40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0xa0
mov rax, qword [0x14005b060]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor ebp, ebp
lea rdx, [rsp + 0x70]
mov rsi, rcx
mov word [rsp + 0x70], bp
lea ecx, [rbp + 0x6b]
call fcn.140007c70
test al, al
jne 0x140007ff6
mov rbx, qword [0x14005eb48]
lea rdx, str.Failed_to_load_UI_mirror_resource
xor r8d, r8d
lea rcx, [rsp + 0x78]
call fcn.14000edc0
cmp qword [rsp + 0x90], 0x10
lea rdx, [rsp + 0x78]
mov rcx, rbx
cmovae rdx, qword [rsp + 0x78]
call fcn.14000f340
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x140007ff6
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ff1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400083be
call fcn.14001c70c
cmp word [rsp + 0x70], bp
mov ecx, 0xc
mov qword [rsp + 0xb8], rdi
setne al
mov byte [rsi + 0x106], al
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0xb
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x14005eb38]
mov edx, 0x65
mov dword [rsp + 0x28], ebp
mov r9d, eax
mov dword [rsp + 0x20], ebx
lea r8d, [rdx - 0x64]
call qword [sym.imp.USER32.dll_LoadImageW]
mov rcx, qword [rsi + 0x108]
mov rbx, rax
test rcx, rcx
je 0x14000805a
call qword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, 0x32
mov qword [rsi + 0x108], rbx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x31
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x14005eb38]
mov edx, 0x65
mov dword [rsp + 0x28], ebp
mov r9d, eax
mov dword [rsp + 0x20], ebx
lea r8d, [rdx - 0x64]
call qword [sym.imp.USER32.dll_LoadImageW]
mov rcx, qword [rsi + 0x110]
mov rbx, rax
test rcx, rcx
je 0x1400080af
call qword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, 0x423632
mov qword [rsi + 0x110], rbx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rcx, qword [rsi + 0x118]
mov rbx, rax
test rcx, rcx
je 0x1400080d6
call qword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, 0x5adf5d
mov qword [rsi + 0x118], rbx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rcx, qword [rsi + 0x128]
mov rbx, rax
test rcx, rcx
je 0x1400080fd
call qword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, 0x211b19
mov qword [rsi + 0x128], rbx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rcx, qword [rsi + 0x120]
mov rbx, rax
test rcx, rcx
je 0x140008124
call qword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, 0x211b19
mov qword [rsi + 0x120], rbx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rcx, qword [rsi + 0x130]
mov rbx, rax
test rcx, rcx
je 0x14000814b
call qword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, 0x392e2b
mov qword [rsi + 0x130], rbx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rcx, qword [rsi + 0x138]
mov rbx, rax
test rcx, rcx
je 0x140008172
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edx, 1
mov qword [rsi + 0x138], rbx
xor ecx, ecx
mov r8d, 0x70635c
call qword [sym.imp.GDI32.dll_CreatePen]
mov rcx, qword [rsi + 0x140]
mov rbx, rax
test rcx, rcx
je 0x1400081a1
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14005eb38]
mov edx, 0x66
mov qword [rsi + 0x140], rbx
call qword [sym.imp.USER32.dll_LoadBitmapW]
mov rcx, qword [rsi + 0x148]
mov rbx, rax
test rcx, rcx
je 0x1400081cf
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14005eb38]
mov edx, 0x67
mov qword [rsi + 0x148], rbx
call qword [sym.imp.USER32.dll_LoadBitmapW]
mov rcx, qword [rsi + 0x150]
mov rbx, rax
test rcx, rcx
je 0x1400081fd
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14005eb38]
mov edx, 0x68
mov qword [rsi + 0x150], rbx
call qword [sym.imp.USER32.dll_LoadBitmapW]
mov rcx, qword [rsi + 0x158]
mov rbx, rax
test rcx, rcx
je 0x14000822b
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14005eb38]
mov edx, 0x69
mov qword [rsi + 0x158], rbx
lea r8d, [rdx - 0x61]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x14005eb38]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [0x14005eb38]
mov rdx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea r9, [rsp + 0x74]
xor r8d, r8d
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_AddFontMemResourceEx]
lea rdx, [rsp + 0x70]
mov word [rsp + 0x70], bp
mov ecx, 0x6a
call fcn.140007c70
mov rdi, qword [rsp + 0xb8]
test al, al
jne 0x140008321
mov rbx, qword [0x14005eb48]
lea rdx, str.Failed_to_load_character_set_resource
xor r8d, r8d
lea rcx, [rsp + 0x78]
call fcn.14000edc0
cmp qword [rsp + 0x90], 0x10
lea rdx, [rsp + 0x78]
mov rcx, rbx
cmovae rdx, qword [rsp + 0x78]
call fcn.14000f340
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x140008321
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000831c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400083b8
call fcn.14001c70c
movzx eax, word [rsp + 0x70]
lea rcx, str.Roboto
mov qword [rsp + 0x68], rcx
xor edx, edx
mov dword [rsp + 0x60], 2
xor r9d, r9d
mov dword [rsp + 0x58], 2
xor r8d, r8d
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x48], 8
lea ecx, [rdx - 0xe]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0x190
call qword [sym.imp.GDI32.dll_CreateFontW]
mov rcx, qword [rsi + 0x160]
mov rbx, rax
test rcx, rcx
je 0x14000838c
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rsi + 0x160], rbx
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14001c460
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
call fcn.140025138
int3
call fcn.140025138
int3