Function at 0x1401356e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x98], rax
cmp edx, 0xe42
jne 0x14013577b
lea rdi, [0x1404933c0]
call fcn.14011e060
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x10]
movsxd rax, dword [rax + 8]
mov ebx, dword [rdi + rax*4]
mov dword [rsp + 0x5c], ebx
mov rcx, qword [0x140513b18]
test rcx, rcx
je 0x1401357b6
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rdx, rsi
mov r8d, ebx
call qword [case.0x1403053b8.0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140297b50
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ebx, edx
cmp edx, 0x692
jne 0x14013578e
lea rdi, [0x140493390]
jmp 0x14013571a
cmp ebx, 0x974
jne 0x1401357a2
lea rdi, [0x1404933b0]
jmp 0x14013571a
cmp ebx, 0x82c
jne 0x14013572e
lea rdi, [0x1404933a0]
jmp 0x14013571a
call fcn.14033d560
mov rdi, rax
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x50], rax
movsxd r15, ebx
mov rcx, r15
sar rcx, 0x3f
add r15, rax
adc rcx, 0
mov eax, ecx
and eax, 1
neg rax
xor rcx, rax
jne 0x140135a79
test rax, rax
js 0x140135a79
mov rax, r15
shr rax, 0x20
jne 0x140135a79
mov dword [rsp + 0x4c], r15d
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x34], 0
mov eax, r15d
shr eax, 4
inc eax
movzx edx, ax
lea rcx, [0x140000000]
mov r8d, 6
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140135874
mov rbx, rax
lea rcx, [0x140000000]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140135874
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140135938
mov rbx, rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x60]
mov dword [rcx], eax
call fcn.1401dff00
lea rcx, [rsp + 0x5c]
call fcn.1401dff00
lea rcx, [rsp + 0x50]
call fcn.1401dff00
lea rcx, [rsp + 0x4c]
call fcn.1401dff00
lea rcx, [rsp + 0x28]
call fcn.1401dff00
lea rcx, [rsp + 0x40]
call fcn.1401dff00
lea rcx, [rsp + 0x38]
call fcn.1401dff00
lea rcx, [rsp + 0x34]
call fcn.1401dff00
xorps xmm6, xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
add rdi, 0x18
cmp byte [rbx + 0x2f], 0
jns 0x1401358ec
mov rdi, qword [rdi]
lea rbx, [rsp + 0x70]
mov r8d, 0x10
mov rcx, rbx
mov rdx, rdi
call fcn.14010d4a0
mov rcx, rbx
call fcn.1401dff00
call fcn.140310f60
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x140135761
call fcn.140297b50
int3
mov r14, rax
lea rcx, [0x140000000]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x34], eax
mov eax, eax
movaps xmm6, xmmword [0x140470090]
lea rcx, [rsp + 0x70]
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0x60]
mov qword [rdx], r14
mov qword [rdx + 8], rax
call fcn.140135ac0
and r15d, 0xf
je 0x1401359aa
lea rbx, [rsp + 0x70]
lea r14, [rsp + 0x60]
jmp 0x14013599b
movzx r8d, word [rax]
mov rcx, rbx
mov rdx, r14
call fcn.14033db90
dec r15d
je 0x1401359aa
mov rcx, rbx
call fcn.14033db10
test rax, rax
je 0x140135996
jmp 0x140135987
lea rcx, [rsp + 0x70]
call fcn.14033db10
test rax, rax
je 0x140135a28
mov rbx, rax
movzx r8d, word [rax]
test r8, r8
jne 0x140135a82
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x80]
movabs rdi, 0xfffffffc00000000
mov rax, rcx
and rax, rdi
cmp rax, qword [0x140500ac8]
jne 0x1401359fd
call fcn.1400c30e0
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x70]
and rdi, rcx
cmp rdi, qword [0x140500ac8]
jne 0x14013591a
call fcn.1400c30e0
jmp 0x14013591a
mov rcx, qword [rsp + 0x80]
movabs rbx, 0xfffffffc00000000
mov rax, rcx
and rax, rbx
cmp rax, qword [0x140500ac8]
jne 0x140135a4e
call fcn.1400c30e0
mov qword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x70]
and rbx, rcx
cmp rbx, qword [0x140500ac8]
jne 0x140135874
call fcn.1400c30e0
jmp 0x140135874
int3
lea r14, [rsp + 0x60]
movaps xmmword [r14], xmm6
lea rcx, [rsp + 0x70]
mov rdx, r14
call fcn.14033db90
cmp qword [r14 + 8], 0
je 0x140135a28
movzx r8d, word [rbx]
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.1400d9fd0
jmp 0x1401359d7