Function at 0x1400523c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401b7030]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14, rdx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x140052681
mov edx, 0x69
lea r8d, [rdx - 0x5f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x140052681
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r15d, eax
test rsi, rsi
je 0x140052681
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ebx, ebx
mov qword [rbp - 0x40], rbx
mov edi, InitCommonControls
mov qword [rbp - 0x38], rdi
mov byte [rbp - 0x50], bl
mov r8d, r15d
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14002dc40
nop
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.140052090
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140051f40
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov r14, qword [rbp]
lea r15, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae r15, qword [rbp - 0x10]
movabs r12, 0x7fffffffffffffff
cmp r14, 0x10
jae 0x1400524d8
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x48], xmm0
mov esi, edi
jmp 0x140052545
mov rsi, r14
or rsi, 0xf
cmp rsi, r12
cmova rsi, r12
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x140052522
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400526af
mov rcx, rax
call fcn.14011c364
mov rcx, rax
test rax, rax
je 0x1400526b5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140052531
test rcx, rcx
je 0x14005252e
call fcn.14011c364
jmp 0x140052531
mov rax, rbx
mov qword [rsp + 0x48], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.140121290
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rsi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x40]
cmp r14, 0x10
jae 0x14005257a
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x68], xmm0
jmp 0x1400525e2
mov rdi, r14
or rdi, 0xf
cmp rdi, r12
cmova rdi, r12
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400525c1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400526bb
mov rcx, rax
call fcn.14011c364
test rax, rax
je 0x1400526a9
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400525ce
test rcx, rcx
je 0x1400525ce
call fcn.14011c364
mov rbx, rax
mov qword [rsp + 0x68], rbx
lea r8, [r14 + 1]
mov rdx, rsi
mov rcx, rbx
call fcn.140121290
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], rdi
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.140051b00
nop
mov rsi, qword [rbp - 0x20]
test rsi, rsi
je 0x140052664
lea rax, [rbp - 0x30]
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x18]
cmp rdi, 0x10
cmovae rax, rbx
cmp byte [rax], 0x4d
jne 0x140052664
lea rax, [rbp - 0x30]
cmp rdi, 0x10
cmovae rax, rbx
cmp byte [rax + 1], 0x5a
jne 0x140052664
call fcn.14004e330
lea rcx, [rbp - 0x30]
cmp rdi, 0x10
cmovae rcx, rbx
mov rdx, rsi
call fcn.14004ead0
movzx ecx, byte [0x1401ba762]
mov edx, 1
test rax, rax
cmovne ecx, edx
mov byte [0x1401ba762], cl
lea rcx, [rbp - 0x30]
call fcn.14002dbe0
nop
lea rcx, [rbp - 0x10]
call fcn.14002dbe0
nop
lea rcx, [rbp - 0x50]
call fcn.14002dbe0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14011c340
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14012d608
nop
call fcn.140015480
int3
call fcn.14012d608
nop
call fcn.140015480
int3