Function at 0x18007e700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rsp + 0x170], xmm6
mov rbx, r9
movaps xmm6, xmm2
mov esi, edx
mov r15, rcx
mov r12, qword [rbp + 0xe8]
mov rcx, qword [0x180166ab8]
test rcx, rcx
je 0x18007e994
movzx edx, si
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x18007e994
mov rdx, rax
mov rcx, qword [0x180166ab8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18007e994
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
mov rdx, rdi
mov rcx, qword [0x180166ab8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, eax
test r14, r14
je 0x18007e994
test eax, eax
je 0x18007e994
mov rcx, qword [0x180167130]
test rbx, rbx
je 0x18007e7ff
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rbx + 0x20]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x30]
movaps xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rbx + 0x40]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbx + 0x50]
movaps xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rbx + 0x60]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rbx + 0x70]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rbx + 0x80]
movaps xmmword [rbp - 0x30], xmm0
jmp 0x18007e85c
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 2
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov dword [rbp - 0x5c], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x58], ax
lea rax, [rsp + 0x50]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x70]
movaps xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rax + 0x80]
movaps xmmword [rbp + 0x60], xmm0
mov qword [rbp - 0x20], r14
mov dword [rbp - 0x18], edx
xorps xmm0, xmm0
comiss xmm6, xmm0
jbe 0x18007e8bf
movss dword [rbp - 0xc], xmm6
mov rax, qword [rbp + 0x18]
test r12, r12
cmovne rax, r12
mov qword [rbp + 0x18], rax
lea rdx, [rbp - 0x20]
mov rcx, qword [rcx + 0x38]
call fcn.18004b590
mov rsi, rax
mov rdi, qword [r15]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov rax, rdi
mov ebx, dword [rbp + 0xe0]
cmp byte [rcx + 0x19], r14b
jne 0x18007e92a
mov qword [rsp + 0x30], rcx
cmp dword [rcx + 0x20], ebx
jge 0x18007e916
mov dword [rsp + 0x38], r14d
mov rcx, qword [rcx + 0x10]
jmp 0x18007e924
mov dword [rsp + 0x38], 1
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r14b
je 0x18007e901
cmp byte [rax + 0x19], r14b
jne 0x18007e935
cmp ebx, dword [rax + 0x20]
jge 0x18007e98c
movabs rax, 0x555555555555555
cmp qword [r15 + 8], rax
je 0x18007e9be
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r14
mov ecx, Ordinal_50
call fcn.1801049a0
nop
mov dword [rax + 0x20], ebx
mov qword [rax + 0x28], r14
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x20], xmm0
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.180009480
mov qword [rax + 0x28], rsi
mov al, 1
jmp 0x18007e9a4
mov edx, esi
lea rcx, str.LOAD_FONT_ERROR__FONT__i_n
call fcn.180005bb0
xor al, al
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x180
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180005d90
int3