Function at 0x140070c90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x6c], edx
mov rcx, qword [0x14032f760]
test rcx, rcx
je 0x140070d12
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rdx, rsi
mov r8d, ebx
call qword [0x14030c820]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401f08b0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400710a0
mov rdi, rax
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x60], rax
movsxd r12, ebx
mov rcx, r12
sar rcx, 0x3f
add r12, rax
adc rcx, 0
mov eax, ecx
and eax, 1
neg rax
xor rcx, rax
jne 0x140070fd1
test rax, rax
js 0x140070fd1
mov rax, r12
shr rax, 0x20
jne 0x140070fd1
mov dword [rsp + 0x5c], r12d
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], 0
mov eax, r12d
shr eax, 4
inc eax
movzx edx, ax
lea rcx, [0x140000000]
mov r8d, 6
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140070dd0
mov r14, rax
lea rcx, [0x140000000]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140070dd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140070e7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x20]
mov dword [rcx], eax
call fcn.140199e40
lea rcx, [rsp + 0x6c]
call fcn.140199e40
lea rcx, [rsp + 0x60]
call fcn.140199e40
lea rcx, [rsp + 0x5c]
call fcn.140199e40
lea rcx, [rsp + 0x38]
call fcn.140199e40
lea rcx, [rsp + 0x50]
call fcn.140199e40
lea rcx, [rsp + 0x48]
call fcn.140199e40
lea rcx, [rsp + 0x44]
call fcn.140199e40
xorps xmm6, xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
cmp byte [rdi + 0x2f], 0
jns 0x140070e44
mov rdi, qword [rdi + 0x18]
jmp 0x140070e48
add rdi, 0x18
lea rbx, [rsp + 0x70]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, rbx
mov rdx, rdi
call fcn.1401b6510
mov rcx, rbx
call fcn.140199e40
call fcn.1402547f0
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
jmp 0x140070ce4
mov rbx, rax
movabs r15, 0xfffffffc00000000
lea rcx, [0x140000000]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x44], eax
mov r14d, eax
mov r13, rbx
and r13, r15
cmp r13, qword [0x14031f748]
jne 0x140070eb6
mov rcx, rbx
call fcn.140025b30
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r14
cmp r13, qword [0x14031f748]
jne 0x140070ed1
mov rcx, rbx
call fcn.140025b30
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], r14
and r12d, 0xf
je 0x140070f16
lea rbx, [rsp + 0x70]
lea r14, [rsp + 0x20]
jmp 0x140070f07
movzx r8d, word [rax]
mov rcx, rbx
mov rdx, r14
call fcn.140254980
dec r12d
je 0x140070f16
mov rcx, rbx
call fcn.140254900
test rax, rax
je 0x140070f02
jmp 0x140070ef3
lea rcx, [rsp + 0x70]
call fcn.140254900
test rax, rax
je 0x140070f8a
mov rbx, rax
movzx r8d, word [rax]
test r8, r8
jne 0x140070fda
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x80]
mov rax, rcx
and rax, r15
cmp rax, qword [0x14031f748]
jne 0x140070f5f
call fcn.140025c70
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x70]
and r15, rcx
cmp r15, qword [0x14031f748]
jne 0x140070ce4
call fcn.140025c70
jmp 0x140070ce4
mov rcx, qword [rsp + 0x80]
mov rax, rcx
and rax, r15
cmp rax, qword [0x14031f748]
jne 0x140070fa6
call fcn.140025c70
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x70]
and r15, rcx
cmp r15, qword [0x14031f748]
jne 0x140070dd0
call fcn.140025c70
jmp 0x140070dd0
int3
movaps xmm0, xmmword [0x1402825c0]
lea r14, [rsp + 0x20]
movaps xmmword [r14], xmm0
lea rcx, [rsp + 0x70]
mov rdx, r14
call fcn.140254980
cmp qword [r14 + 8], 0
je 0x140070f8a
movzx edi, word [rbx]
test rdi, rdi
sete al
mov rbx, qword [rsp + 0x20]
test rbx, rbx
setne cl
or cl, al
je 0x140071090
cmp di, 0xa
jbe 0x140071087
mov eax, edi
and eax, 0xfffffffc
add rax, 4
mov r14, rdi
or r14, 3
cmp r14, 0xb
cmove r14, rax
lea rcx, [r14*2 + 2]
call fcn.1401ef3e0
mov rcx, rax
mov qword [rsi], rax
movabs rax, 0x8000000000000001
add rax, r14
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rdi
lea r14, [rcx + rdi*2]
cmp rcx, rbx
ja 0x14007106a
cmp r14, rbx
ja 0x140071090
test rdi, rdi
je 0x14007107c
add edi, edi
mov rdx, rbx
mov r8, rdi
call fcn.1402357f0
mov word [r14], 0
jmp 0x140070f43
mov byte [rsi + 0x17], dil
mov rcx, rsi
jmp 0x14007105c
ud2