Function at 0x140001d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140037060]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 3
lea rdx, [0x1400324d8]
lea rcx, [rsp + 0x30]
call fcn.140004720
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r8, qword [rsp + 0x30]
mov edx, 0x66
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140001de2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ddd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000203b
call fcn.140005cb0
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0xa0]
call fcn.140008200
lea rdx, [0x1400324e0]
lea rcx, [rbp + 0xa0]
call fcn.140003320
nop
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp - 0x80]
call fcn.140008200
lea rdx, str.API_x64.dll
lea rcx, [rbp - 0x80]
call fcn.140003320
nop
mov esi, 6
lea r14d, [rsi - 4]
cmp qword [rbp + 0x138], 0
je 0x140001ea6
test rdi, rdi
je 0x140001ea6
test rbx, rbx
je 0x140001ea6
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0xb0]
call fcn.1400036c0
lea rcx, [rbp + 0xb8]
call fcn.140003ea0
test rax, rax
jne 0x140001ea6
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
mov eax, esi
cmp qword [rbp + rcx + 0xe8], 0
cmovne eax, r14d
or eax, dword [rbp + rcx + 0xb0]
and eax, 0x17
mov dword [rbp + rcx + 0xb0], eax
mov edx, dword [rbp + rcx + 0xb4]
and edx, eax
jne 0x140002041
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 3
lea rdx, [0x1400324d8]
lea rcx, [rsp + 0x30]
call fcn.140004720
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r8, qword [rsp + 0x30]
mov edx, 0x67
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140001f53
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002095
call fcn.140005cb0
cmp qword [rbp + 0x18], 0
je 0x140001fa6
test rdi, rdi
je 0x140001fa6
test rbx, rbx
je 0x140001fa6
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400036c0
lea rcx, [rbp - 0x68]
call fcn.140003ea0
test rax, rax
jne 0x140001fa6
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x38], 0
cmovne esi, r14d
or esi, dword [rbp + rcx - 0x70]
and esi, 0x17
mov dword [rbp + rcx - 0x70], esi
mov eax, dword [rbp + rcx - 0x6c]
and eax, esi
jne 0x140001fe8
lea rcx, [rbp - 0x80]
call fcn.1400020a0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400020a0
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140005c90
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
test al, 4
je 0x140001ff5
lea rbx, str.ios_base::badbit_set
jmp 0x14000200a
test r14b, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1400012e0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140001ba0
lea rdx, [0x1400361b0]
lea rcx, [rsp + 0x50]
call fcn.140007a54
nop
call fcn.14000df1c
nop
test dl, 4
je 0x14000204f
lea rbx, str.ios_base::badbit_set
jmp 0x140002064
test r14b, dl
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1400012e0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140001ba0
lea rdx, [0x1400361b0]
lea rcx, [rsp + 0x50]
call fcn.140007a54
int3
call fcn.14000df1c
int3