Function at 0x1400a9fd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r13d, edx
mov esi, r9d
mov r12, r8
mov rbx, rcx
test edx, edx
je 0x1400aa2c8
call fcn.14000d7d4
movzx edx, r13w
mov r8d, 0xf1
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400aa2c4
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400aa2c4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x1400aa2c4
movzx ecx, word [rax + 6]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140006d94
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rbp, rax
test rax, rax
je 0x1400aa2c8
movzx ecx, word [rdi + 2]
movzx edx, word [rdi + 4]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], edx
lea r14d, [rcx + 6]
mov dword [rsp + 0x38], r14d
lea r15d, [rdx + 6]
mov dword [rsp + 0x3c], r15d
test esi, esi
je 0x1400aa0b5
mov eax, dword [rbx + 0x1178]
jmp 0x1400aa0bb
mov eax, dword [0x1403f8c28]
mov esi, 1
test eax, eax
jne 0x1400aa181
mov eax, dword [0x1403f8850]
test eax, eax
jne 0x1400aa0e9
lea rcx, [0x1403f8850]
call fcn.140085638
mov eax, esi
xor r8d, r8d
mov dword [0x1403f8850], eax
mov ecx, dword [0x1403f8b10]
movsd xmm2, qword [0x1403f8b08]
test ecx, ecx
je 0x1400aa100
movaps xmm0, xmm2
jmp 0x1400aa108
movsd xmm0, qword [0x1402f1320]
ucomisd xmm0, qword [0x1402f1320]
jp 0x1400aa114
je 0x1400aa181
test eax, eax
jne 0x1400aa13b
lea rcx, [0x1403f8850]
call fcn.140085638
mov ecx, dword [0x1403f8b10]
xor r8d, r8d
movsd xmm2, qword [0x1403f8b08]
mov dword [0x1403f8850], esi
test ecx, ecx
jne 0x1400aa147
movsd xmm2, qword [0x1402f1320]
movd xmm0, r14d
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm2
addsd xmm0, qword [0x1402f8108]
cvttsd2si eax, xmm0
movd xmm0, r15d
cvtdq2pd xmm0, xmm0
mov dword [rsp + 0x38], eax
mulsd xmm0, xmm2
addsd xmm0, qword [0x1402f8108]
cvttsd2si eax, xmm0
mov dword [rsp + 0x3c], eax
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x38]
test edx, edx
je 0x1400aa1a6
mov r8, qword [rsp + 0x30]
mov rdx, rcx
mov rcx, rbx
xor r9d, r9d
call fcn.1400b1484
jmp 0x1400aa1c4
movsd xmm0, qword [0x1403f8e48]
ucomisd xmm0, qword [0x1402f1320]
jp 0x1400aa1ce
jne 0x1400aa1ce
mov rdx, qword [rsp + 0x30]
call fcn.1400b18d0
mov edx, dword [rsp + 0xa8]
xor r8d, r8d
cmp dword [r12 + 4], r8d
jne 0x1400aa1da
mov dword [r12 + 4], r13d
cmp dword [rbx + 0x1308], r8d
jne 0x1400aa207
mov rax, qword [rbx]
mov r8d, edx
mov rdx, r12
mov rcx, rbx
mov rax, qword [rax + 0x668]
call qword [case.0x1400643c6.0]
xor r8d, r8d
test eax, eax
je 0x1400aa2a2
mov r15d, r8d
mov r12d, dword [rbx + 0x114c]
cmp r8w, word [rdi + 6]
jae 0x1400aa26d
mov r13d, dword [rsp + 0xa8]
mov r14, rbp
lea rbp, [rdi + 8]
movzx edx, word [rbp]
mov dword [r14], edx
test r13d, r13d
jne 0x1400aa24c
test edx, edx
je 0x1400aa24c
lea rcx, vtable.CMap_unsigned_int__unsigned_int__int__int_.0
call fcn.140087a4c
mov dword [rax], r12d
add r12d, esi
xor r8d, r8d
movzx eax, word [rdi + 6]
add r15d, esi
add rbp, 2
add r14, 4
cmp r15d, eax
jl 0x1400aa227
mov r13d, dword [rsp + 0x98]
mov rbp, qword [rsp + 0x40]
mov rax, qword [rbx]
mov r9d, esi
mov dword [rbx + 0x1308], r13d
mov rdx, rbp
movzx r8d, word [rdi + 6]
mov rcx, rbx
mov rax, qword [rax + 0x678]
call qword [case.0x1400643c6.0]
xor r14d, r14d
mov esi, eax
test eax, eax
jne 0x1400aa2a2
mov dword [rbx + 0x1308], r14d
mov rcx, rbp
call fcn.140006d9c
mov eax, esi
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x1400aa2ac
call fcn.140007034
int3