Function at 0x140003f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3d0
mov rax, qword [0x14006f180]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov r13, r8
mov r12, rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x38], rcx
mov r8d, 0xa
lea rdx, [0x1400631c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140004756
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140004778
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400047a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x1400047c8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xe0], xmm0
xor r14d, r14d
mov qword [rsp + 0xf0], r14
test rdi, rdi
je 0x140004092
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x1400047f0
cmp rdi, 0x1000
jb 0x140004058
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400047f5
call fcn.140022cf8
test rax, rax
je 0x1400047fa
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140004063
mov rcx, rdi
call fcn.140022cf8
mov rbx, rax
mov qword [rsp + 0xe0], rbx
lea r14, [rbx + rdi]
mov qword [rsp + 0xf0], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14004d850
mov r15, r14
mov qword [rsp + 0xe8], r14
jmp 0x1400040a2
mov r15, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
sub r15, rbx
lea rdx, str.Size_
lea rcx, [0x140072ec0]
call fcn.140008340
mov rdx, r15
mov rcx, rax
call fcn.140005070
mov dl, 0xa
mov rcx, rax
call fcn.1400085f0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xc8], xmm1
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0xd8], rsi
test r15, r15
je 0x14000410a
mov rdx, r15
lea rcx, [rsp + 0xc8]
call fcn.140009c10
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x250], xmm0
movups xmmword [rsp + 0x260], xmm0
movups xmmword [rsp + 0x270], xmm0
movups xmmword [rsp + 0x280], xmm0
movups xmmword [rsp + 0x290], xmm0
movups xmmword [rsp + 0x2a0], xmm0
movups xmmword [rsp + 0x2b0], xmm0
mov ecx, 0x68
call fcn.140022cf8
mov rdi, rax
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], rax
lea ecx, [rax + 0x30]
call fcn.140022cf8
mov rsi, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
xor edx, edx
mov rcx, rax
call fcn.14000ab20
lea rax, vtable.CryptoPP::ArraySink.0
mov qword [rsi], rax
lea rax, vtable.CryptoPP::ArraySink.1.0
mov qword [rsi + 8], rax
lea rax, [rsp + 0x3b0]
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], SafeArrayUnaccessData
mov qword [rsi + 0x28], 0
call fcn.14000f010
mov r9, rsi
mov r8d, 4
mov rdx, rax
mov rcx, rdi
call fcn.140003a40
lea rax, vtable.CryptoPP::HexDecoder.0
mov qword [rdi], rax
lea rax, vtable.CryptoPP::HexDecoder.1.0
mov qword [rdi + 8], rax
mov r9, rdi
mov rdx, r12
lea rcx, [rsp + 0x250]
call fcn.1400037e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x1e0], xmm0
movups xmmword [rsp + 0x1f0], xmm0
movups xmmword [rsp + 0x200], xmm0
movups xmmword [rsp + 0x210], xmm0
movups xmmword [rsp + 0x220], xmm0
movups xmmword [rsp + 0x230], xmm0
movups xmmword [rsp + 0x240], xmm0
mov ecx, 0x68
call fcn.140022cf8
mov rdi, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], rax
lea ecx, [rax + 0x30]
call fcn.140022cf8
mov rsi, rax
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
xor edx, edx
mov rcx, rax
call fcn.14000ab20
lea rax, vtable.CryptoPP::ArraySink.0
mov qword [rsi], rax
lea rax, vtable.CryptoPP::ArraySink.1.0
mov qword [rsi + 8], rax
lea rax, [rsp + 0x3a0]
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], SafeArrayUnaccessData
xor r12d, r12d
mov qword [rsi + 0x28], r12
call fcn.14000f010
mov r9, rsi
lea r8d, [r12 + 4]
mov rdx, rax
mov rcx, rdi
call fcn.140003a40
lea rax, vtable.CryptoPP::HexDecoder.0
mov qword [rdi], rax
lea rax, vtable.CryptoPP::HexDecoder.1.0
mov qword [rdi + 8], rax
mov r9, rdi
mov rdx, r13
lea rcx, [rsp + 0x1e0]
call fcn.1400037e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
movups xmmword [rsp + 0x190], xmm0
movups xmmword [rsp + 0x1a0], xmm0
movups xmmword [rsp + 0x1b0], xmm0
movups xmmword [rsp + 0x1c0], xmm0
movups xmmword [rsp + 0x1d0], xmm0
mov dl, 1
lea rcx, [rsp + 0x188]
call fcn.14000ab20
movabs rax, 0x3fffffffffffffff
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b0], r12
mov qword [rsp + 0x1b8], r12
mov qword [rsp + 0x1c8], 0xffffffffffffffff
mov qword [rsp + 0x1d0], r12
mov qword [rsp + 0x1d8], r12
lea rax, vtable.CryptoPP::BlockCipherFinal_1__class_CryptoPP::Rijndael::Dec_.0
mov qword [rsp + 0x180], rax
lea rax, vtable.CryptoPP::BlockCipherFinal_1__class_CryptoPP::Rijndael::Dec_.1.0
mov qword [rsp + 0x188], rax
mov r9, qword [section..data]
lea r8d, [r12 + 0x10]
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x180]
call fcn.14000bff0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x130], xmm0
movups xmmword [rsp + 0x140], xmm0
movups xmmword [rsp + 0x150], xmm0
movups xmmword [rsp + 0x160], xmm0
mov qword [rsp + 0x170], rax
mov dl, 1
lea rcx, [rsp + 0x108]
call fcn.14000ab20
mov qword [rsp + 0x110], r12
mov qword [rsp + 0x120], 0xffffffffffffffff
mov qword [rsp + 0x128], r12
mov qword [rsp + 0x130], r12
mov qword [rsp + 0x140], 0xffffffffffffffff
mov qword [rsp + 0x148], r12
mov qword [rsp + 0x150], r12
mov qword [rsp + 0x160], 0xffffffffffffffff
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x170], r12
lea rax, vtable.CryptoPP::CipherModeFinalTemplate_ExternalCipher_class_CryptoPP::CBC_Decryption_.0
mov qword [rsp + 0x100], rax
lea rax, vtable.CryptoPP::CipherModeFinalTemplate_ExternalCipher_class_CryptoPP::CBC_Decryption_.1.0
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x100]
call fcn.14000c2c0
lea rax, [rsp + 0x180]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x100]
mov rax, qword [rsp + 0x100]
call qword [rax + 0x80]
xor edx, edx
lea rcx, [rsp + 0x100]
mov rax, qword [rsp + 0x100]
call qword [rax + 0x78]
lea rcx, [rsp + 0x100]
mov rax, qword [rsp + 0x100]
call qword [rax + 0x38]
cmp eax, 4
jge 0x14000452f
lea r8d, [r12 - 1]
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x100]
mov rax, qword [rsp + 0x100]
call qword [rax + 0x58]
nop
xor edx, edx
mov r8d, 0xe0
lea rcx, [rsp + 0x2c0]
call fcn.14004def0
mov ecx, 0x30
call fcn.140022cf8
mov rdi, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov r13, qword [rsp + 0xd0]
mov rsi, r13
mov r12, qword [rsp + 0xc8]
sub rsi, r12
xor edx, edx
mov rcx, rax
call fcn.14000ab20
lea rax, vtable.CryptoPP::ArraySink.0
mov qword [rdi], rax
lea rax, vtable.CryptoPP::ArraySink.1.0
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x20], rsi
xor esi, esi
mov qword [rdi + 0x28], rsi
lea r9d, [rsi + 5]
mov r8, rdi
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x2c0]
call fcn.14000cd50
nop
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov r8, r15
mov rdx, rbx
lea rcx, [rsp + 0x2c0]
mov rax, qword [rsp + 0x2c0]
call qword [rax + 0x30]
mov byte [rsp + 0x20], 1
lea r9d, [rsi - 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2c0]
mov rax, qword [rsp + 0x2c0]
call qword [rax + 0x30]
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xc8], rsi
mov rsi, qword [rsp + 0x50]
mov qword [rsi], r12
mov qword [rsi + 8], r13
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x10], rax
lea rcx, [rsp + 0x2c0]
call fcn.140003590
nop
mov rcx, qword [rsp + 0x168]
cmp qword [rsp + 0x160], rcx
cmovb rcx, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x170]
test rdx, rdx
je 0x140004677
mov rdi, rdx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call fcn.140010810
nop
lea rcx, [rsp + 0x100]
call fcn.140003da0
nop
lea rcx, [rsp + 0x180]
call fcn.140004820
nop
lea rdi, vtable.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.0
mov qword [rsp + 0x1e0], rdi
lea r15, vtable.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.1.0
mov qword [rsp + 0x1e8], r15
mov rcx, qword [rsp + 0x1f8]
test rcx, rcx
je 0x1400046c9
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov qword [rsp + 0x250], rdi
mov qword [rsp + 0x258], r15
mov rcx, qword [rsp + 0x268]
test rcx, rcx
je 0x1400046f1
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
test rbx, rbx
je 0x140004729
sub r14, rbx
mov rax, rbx
cmp r14, 0x1000
jb 0x14000471e
add r14, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047fa
mov rdx, r14
mov rcx, rbx
call fcn.140022ce0
mov rax, rsi
jmp 0x140004733
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140022cc0
add rsp, 0x3d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.Could_not_find_resource
lea rcx, [rsp + 0x68]
call fcn.140001780
lea rdx, [0x14006d348]
lea rcx, [rsp + 0x68]
call fcn.140024d34
lea rdx, str.Not_loaded_resource
lea rcx, [rsp + 0x80]
call fcn.140001780
lea rdx, [0x14006d348]
lea rcx, [rsp + 0x80]
call fcn.140024d34
lea rdx, str.Size_of_resource_is_null_or_negative
lea rcx, [rsp + 0x98]
call fcn.140001780
lea rdx, [0x14006d348]
lea rcx, [rsp + 0x98]
call fcn.140024d34
lea rdx, str.Lock_resource_null
lea rcx, [rsp + 0xb0]
call fcn.140001780
lea rdx, [0x14006d348]
lea rcx, [rsp + 0xb0]
call fcn.140024d34
call fcn.140007f60
call fcn.140001650
call fcn.140034db8
int3