Function at 0x140153c60
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 [0x1402bf040]
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 0x14015403b
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 0x14015403b
call fcn.1401539a0
mov rdi, rax
test rax, rax
je 0x14015403b
mov rcx, qword [rax]
lea rdx, [rbp - 0x41]
mov rax, qword [rcx + 0x70]
mov rcx, rdi
call qword [case.0x14013d64a.0]
test eax, eax
js 0x14015403b
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.0x14013d64a.0]
test eax, eax
js 0x14015403b
lfence
sub ebx, 1
je 0x140153d9a
sub ebx, 1
je 0x140153d91
sub ebx, 1
je 0x140153d88
cmp ebx, 1
je 0x140153d7f
lea rdx, [0x140288e18]
jmp 0x140153da1
lea rdx, [0x140288e38]
jmp 0x140153da1
lea rdx, [0x140288dd8]
jmp 0x140153da1
lea rdx, [0x140288de8]
jmp 0x140153da1
lea rdx, [0x140288df8]
mov rax, qword [rdi]
lea r9, [rbp - 0x49]
lea r8, [0x140288e58]
mov rcx, rdi
mov rax, qword [rax + 0x38]
call qword [case.0x14013d64a.0]
nop dword [rax]
test eax, eax
js 0x14015403b
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.0x14013d64a.0]
test eax, eax
js 0x14015403b
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.0x14013d64a.0]
test eax, eax
js 0x14015403b
mov rcx, qword ds:[rbp - 0x51]
lea rdx, [rbp - 0x21]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x14013d64a.0]
test eax, eax
js 0x14015403b
mov rax, qword [rbp - 0x21]
cmp rax, qword [0x140288e08]
jne 0x140153e73
mov rax, qword [rbp - 0x19]
cmp rax, qword [0x140288e10]
jne 0x140153e73
mov rcx, qword ds:[rbp - 0x51]
lea r8, [rbp - 0x61]
lea rdx, [0x14020fb10]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14013d64a.0]
test eax, eax
js 0x14015403b
jmp 0x140153f06
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.0x14013d64a.0]
test eax, eax
js 0x14015403b
mov rcx, qword [rbp - 0x69]
lea r8, [0x140288e08]
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.0x14013d64a.0]
mov rcx, qword [rbp - 0x69]
test eax, eax
mov rax, qword [rcx]
js 0x140154031
mov rax, qword [rax]
lea r8, [rbp - 0x61]
lea rdx, [0x14020fb10]
call qword [case.0x14013d64a.0]
test eax, eax
js 0x14015403b
mov rcx, qword ds:[rbp - 0x69]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.0]
lea r8, [rbp - 0x39]
mov edx, esi
mov ecx, r15d
call fcn.140153900
mov r14, rax
test rax, rax
je 0x14015403b
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.0x14013d64a.0]
test eax, eax
js 0x140153f96
cmp dword [rbp - 0x59], r15d
jne 0x140153f96
cmp dword [rbp - 0x55], esi
jne 0x140153f96
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.0x14013d64a.0]
mov r12d, eax
shr r12d, 0x1f
xor r12b, 1
jmp 0x14015403b
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.0x14013d64a.0]
test eax, eax
js 0x14015403b
mov rcx, qword ds:[rbp - 0x69]
mov r9d, esi
cmp dword [0x1402bff40], 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.0x14013d64a.0]
test eax, eax
js 0x14015402a
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.0x14013d64a.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.0x14013d64a.0]
mov rcx, qword ds:[rbp - 0x61]
test rcx, rcx
je 0x140154052
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.0]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140154068
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.0]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14015407e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.0]
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140154094
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.0]
test r12b, r12b
jne 0x1401540ab
test r14, r14
je 0x1401540a7
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x1401540ae
mov rax, r14
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401e4160
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret