Function at 0x140155c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xc0
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15d, dword [rbp + 0x77]
xor r13d, r13d
mov esi, dword [rbp + 0x7f]
mov ebx, r9d
mov qword [rbp - 0x11], r8
lea r9, [rbp - 0x31]
mov qword [rbp - 9], rdx
mov r8d, 3
lea rdx, [rbp - 0x11]
mov qword [rbp - 0x39], r13
mov r14d, r13d
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x61], r13
mov rdi, rcx
mov qword [rbp - 0x49], r13
xor r12b, r12b
mov qword [rbp - 0x51], r13
mov dword [rbp - 0x59], r13d
mov dword [rbp - 0x55], r13d
mov qword [rbp - 1], r13
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
nop dword [rax]
test eax, eax
js 0x140155ffb
lfence
mov rdx, qword [rbp - 0x31]
lea r9, [rbp - 0x69]
lea r8, [rbp - 0x29]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140155ffb
call fcn.140155a40
mov rdi, rax
test rax, rax
je 0x140155ffb
mov rcx, qword [rax]
lea rdx, [rbp - 0x41]
mov rax, qword [rcx + 0x70]
mov rcx, rdi
call qword [case.0x14013f76a.0]
test eax, eax
js 0x140155ffb
mov rcx, qword [rbp - 0x41]
mov r8d, dword [rbp - 0x69]
mov rdx, qword [rbp - 0x29]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x14013f76a.0]
test eax, eax
js 0x140155ffb
lfence
sub ebx, 1
je 0x140155d5a
sub ebx, 1
je 0x140155d51
sub ebx, 1
je 0x140155d48
cmp ebx, 1
je 0x140155d3f
lea rdx, [0x14028bf20]
jmp 0x140155d61
lea rdx, [0x14028bf40]
jmp 0x140155d61
lea rdx, [0x14028bed0]
jmp 0x140155d61
lea rdx, [0x14028bef0]
jmp 0x140155d61
lea rdx, [0x14028bf00]
mov rax, qword [rdi]
lea r9, [rbp - 0x49]
lea r8, [0x14028bf60]
mov rcx, rdi
mov rax, qword [rax + 0x38]
call qword [case.0x14013f76a.0]
nop dword [rax]
test eax, eax
js 0x140155ffb
mov rcx, qword ds:[rbp - 0x49]
xor r8d, r8d
mov rdx, qword [rbp - 0x41]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x14013f76a.0]
test eax, eax
js 0x140155ffb
mov rcx, qword ds:[rbp - 0x49]
lea r8, [rbp - 0x51]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x68]
call qword [case.0x14013f76a.0]
test eax, eax
js 0x140155ffb
mov rcx, qword ds:[rbp - 0x51]
lea rdx, [rbp - 0x21]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x14013f76a.0]
test eax, eax
js 0x140155ffb
mov rax, qword [rbp - 0x21]
cmp rax, qword [0x14028bf10]
jne 0x140155e33
mov rax, qword [rbp - 0x19]
cmp rax, qword [0x14028bf18]
jne 0x140155e33
mov rcx, qword ds:[rbp - 0x51]
lea r8, [rbp - 0x61]
lea rdx, [0x140211b70]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14013f76a.0]
test eax, eax
js 0x140155ffb
jmp 0x140155ec6
lfence
mov rax, qword [rdi]
lea rdx, [rbp - 0x69]
mov qword [rbp - 0x69], r13
mov rcx, rdi
mov rax, qword [rax + 0x50]
call qword [case.0x14013f76a.0]
test eax, eax
js 0x140155ffb
mov rcx, qword [rbp - 0x69]
lea r8, [0x14028bf10]
mov rdx, qword [rbp - 0x51]
xorps xmm0, xmm0
mov dword [rsp + 0x30], r13d
xor r9d, r9d
movsd qword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
mov rax, qword [rax + 0x40]
call qword [case.0x14013f76a.0]
mov rcx, qword [rbp - 0x69]
test eax, eax
mov rax, qword [rcx]
js 0x140155ff1
mov rax, qword [rax]
lea r8, [rbp - 0x61]
lea rdx, [0x140211b70]
call qword [case.0x14013f76a.0]
test eax, eax
js 0x140155ffb
mov rcx, qword ds:[rbp - 0x69]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013f76a.0]
lea r8, [rbp - 0x39]
mov edx, esi
mov ecx, r15d
call fcn.1401559a0
mov r14, rax
test rax, rax
je 0x140155ffb
mov rcx, qword ds:[rbp - 0x61]
lea r8, [rbp - 0x55]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x18]
lea rdx, [rbp - 0x59]
call qword [case.0x14013f76a.0]
test eax, eax
js 0x140155f56
cmp dword [rbp - 0x59], r15d
jne 0x140155f56
cmp dword [rbp - 0x55], esi
jne 0x140155f56
mov rdx, qword ds:[rbp - 0x39]
lea r8d, [r15*4]
mov rcx, qword [rbp - 0x61]
mov qword [rsp + 0x20], rdx
xor edx, edx
imul esi, r15d
mov rax, qword [rcx]
shl esi, 2
mov rax, qword [rax + 0x38]
mov r9d, esi
call qword [case.0x14013f76a.0]
mov r12d, eax
shr r12d, 0x1f
xor r12b, 1
jmp 0x140155ffb
lfence
mov rax, qword [rdi]
lea rdx, [rbp - 0x69]
mov qword [rbp - 0x69], r13
mov rcx, rdi
mov rax, qword [rax + 0x58]
call qword [case.0x14013f76a.0]
test eax, eax
js 0x140155ffb
mov rcx, qword ds:[rbp - 0x69]
mov r9d, esi
cmp dword [0x1402bbf68], 0x64
mov r8d, r15d
sbb edx, edx
mov rax, qword [rcx]
add edx, 4
mov dword [rsp + 0x20], edx
mov rdx, qword [rbp - 0x61]
mov rax, qword [rax + 0x40]
call qword [case.0x14013f76a.0]
test eax, eax
js 0x140155fea
lfence
mov rdx, qword [rbp - 0x39]
lea r8d, [r15*4]
mov rcx, qword [rbp - 0x69]
mov qword [rsp + 0x20], rdx
xor edx, edx
imul esi, r15d
mov rax, qword [rcx]
shl esi, 2
mov rax, qword [rax + 0x38]
mov r9d, esi
call qword [case.0x14013f76a.0]
movzx r12d, r12b
mov edx, 1
test eax, eax
cmovns r12d, edx
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013f76a.0]
mov rcx, qword ds:[rbp - 0x61]
test rcx, rcx
je 0x140156012
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013f76a.0]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140156028
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013f76a.0]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14015603e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013f76a.0]
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140156054
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013f76a.0]
test r12b, r12b
jne 0x14015606b
test r14, r14
je 0x140156067
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x14015606e
mov rax, r14
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401e5e40
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret