Function at 0x140003df0
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 [0x14006b180]
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, [0x14005fe50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400045bc
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400045de
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x140004606
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14000462e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xe0], xmm0
xor esi, esi
mov qword [rsp + 0xf0], rsi
test rdi, rdi
je 0x140003f21
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140004656
cmp rdi, 0x1000
jb 0x140003ee7
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14000465b
call fcn.1400202f8
test rax, rax
je 0x140004660
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140003ef2
mov rcx, rdi
call fcn.1400202f8
mov rbx, rax
mov qword [rsp + 0xe0], rbx
lea rsi, [rbx + rdi]
mov qword [rsp + 0xf0], rsi
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.14004a1f0
mov r15, rsi
mov qword [rsp + 0xe8], rsi
jmp 0x140003f31
mov r15, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xc8], xmm1
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0xd8], r14
sub r15, rbx
je 0x140003f6f
mov rdx, r15
lea rcx, [rsp + 0xc8]
call fcn.140007210
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.1400202f8
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.1400202f8
mov r14, 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.140008120
lea rax, vtable.CryptoPP::ArraySink.0
mov qword [r14], rax
lea rax, vtable.CryptoPP::ArraySink.1.0
mov qword [r14 + 8], rax
lea rax, [rsp + 0x3b0]
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], SafeArrayUnaccessData
mov qword [r14 + 0x28], 0
call fcn.14000c630
mov r9, r14
mov r8d, 4
mov rdx, rax
mov rcx, rdi
call fcn.1400038d0
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.140003670
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.1400202f8
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.1400202f8
mov r14, 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.140008120
lea rax, vtable.CryptoPP::ArraySink.0
mov qword [r14], rax
lea rax, vtable.CryptoPP::ArraySink.1.0
mov qword [r14 + 8], rax
lea rax, [rsp + 0x3a0]
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], SafeArrayUnaccessData
xor r12d, r12d
mov qword [r14 + 0x28], r12
call fcn.14000c630
mov r9, r14
lea r8d, [r12 + 4]
mov rdx, rax
mov rcx, rdi
call fcn.1400038d0
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.140003670
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.140008120
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.1400095f0
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.140008120
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.1400098c0
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 0x140004394
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.14004a890
mov ecx, 0x30
call fcn.1400202f8
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 r14, r13
mov r12, qword [rsp + 0xc8]
sub r14, r12
xor edx, edx
mov rcx, rax
call fcn.140008120
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], r14
xor r14d, r14d
mov qword [rdi + 0x28], r14
lea r9d, [r14 + 5]
mov r8, rdi
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x2c0]
call fcn.14000a370
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, [r14 - 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x2c0]
mov rax, qword [rsp + 0x2c0]
call qword [rax + 0x30]
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xc8], r14
mov r14, qword [rsp + 0x50]
mov qword [r14], r12
mov qword [r14 + 8], r13
mov rax, qword [rsp + 0x30]
mov qword [r14 + 0x10], rax
lea rcx, [rsp + 0x2c0]
call fcn.140003420
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 0x1400044dd
mov rdi, rdx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call fcn.14000de30
nop
lea rcx, [rsp + 0x100]
call fcn.140003c30
nop
lea rcx, [rsp + 0x180]
call fcn.140004680
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 0x14000452f
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 0x140004557
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
test rbx, rbx
je 0x14000458f
sub rsi, rbx
mov rax, rbx
cmp rsi, 0x1000
jb 0x140004584
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004660
mov rdx, rsi
mov rcx, rbx
call fcn.1400202e0
mov rax, r14
jmp 0x140004599
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.1400202c0
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.140001620
lea rdx, [0x1400699c0]
lea rcx, [rsp + 0x68]
call fcn.140022354
lea rdx, str.Not_loaded_resource
lea rcx, [rsp + 0x80]
call fcn.140001620
lea rdx, [0x1400699c0]
lea rcx, [rsp + 0x80]
call fcn.140022354
lea rdx, str.Size_of_resource_is_null_or_negative
lea rcx, [rsp + 0x98]
call fcn.140001620
lea rdx, [0x1400699c0]
lea rcx, [rsp + 0x98]
call fcn.140022354
lea rdx, str.Lock_resource_null
lea rcx, [rsp + 0xb0]
call fcn.140001620
lea rdx, [0x1400699c0]
lea rcx, [rsp + 0xb0]
call fcn.140022354
call fcn.1400061b0
call fcn.140001560
call fcn.14002f9ec
int3