Function at 0x14000521d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push r15
mov rax, 9
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x140005230
sub rsp, 0x28
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140014640
add rsp, 0x10
push 0x21
pop rcx
call fcn.140010450
mov qword [rsp + 0x30], rax
push 0x21
push qword [rsp + 0x38]
pop rcx
pop rdx
call fcn.1400105f0
push 0x20
push qword [rsp + 0x38]
mov rax, qword [0x14001cd34]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
call fcn.140010600
push 1
push qword [rsp + 0x30]
mov r15, qword [rsp + 0x40]
add r15, 0x20
mov rax, r15
push rax
pop rcx
pop rdx
pop r8
call fcn.140010630
push qword [0x14001d6f0]
sub rsp, 8
push qword [0x14001d6f0]
push qword [0x14001d6f0]
push qword [0x14001d6f0]
push 0x21
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140012590
add rsp, 0x20
mov rdx, qword [0x14001d700]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006ba0
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.1400144b0
push qword [rsp + 0x30]
pop rcx
call fcn.1400105a0
push 0xa
push qword [rsp + 0x40]
push qword [rsp + 0x90]
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_FindResourceA
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400054c3
push qword [rsp + 0x40]
push qword [rsp + 0x88]
pop rcx
pop rdx
call sub.KERNEL32.dll_LoadResource
mov qword [0x14001ca9c], rax
push qword [rsp + 0x40]
push qword [rsp + 0x88]
pop rcx
pop rdx
call sub.KERNEL32.dll_SizeofResource
mov qword [0x14001cac4], rax
push qword [rsp + 0x28]
movabs rcx, 0x14001b027
pop rdx
call fcn.140014570
or rax, rax
jne 0x1400053e2
push qword [rsp + 0x28]
movabs rcx, 0x14001b02b
pop rdx
call fcn.140014570
or rax, rax
jne 0x1400053e2
push qword [rsp + 0x28]
movabs rcx, 0x14001b02d
pop rdx
call fcn.140014570
or rax, rax
jne 0x1400053e2
push qword [rsp + 0x28]
movabs rcx, 0x14001b035
pop rdx
call fcn.140014570
or rax, rax
jne 0x1400053e2
jmp 0x1400053eb
mov rax, 1
jmp 0x1400053ee
xor rax, rax
and rax, rax
je 0x1400054c3
push qword [0x14001cac4]
pop rcx
call fcn.140010450
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
mov r15, qword [0x14001cac4]
dec r15
cmp r15, qword [rsp + 0x50]
jl 0x14000546b
mov r15, qword [0x14001ca9c]
add r15, qword [rsp + 0x50]
mov rax, r15
push rax
pop rcx
call fcn.140010470
mov qword [rsp + 0x58], rax
mov r15, qword [rsp + 0x58]
imul r15, r15, 0xffffffffffffffff
mov qword [rsp + 0x60], r15
push qword [rsp + 0x60]
mov r15, qword [rsp + 0x50]
add r15, qword [rsp + 0x58]
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.140010480
inc qword [rsp + 0x50]
jno 0x140005411
push qword [0x14001cd34]
push qword [0x14001cac4]
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
call fcn.140004000
push qword [rsp + 0x48]
pop rax
mov qword [0x14001ca9c], rax
push qword [0x14001cac4]
push qword [rsp + 0x50]
pop rcx
pop rdx
call fcn.140005a06
mov qword [rsp + 0x68], rax
push qword [rsp + 0x68]
pop rax
mov qword [0x14001ca9c], rax
push qword [rsp + 0x68]
pop rcx
call fcn.140010670
mov qword [0x14001cac4], rax
mov rax, qword [rsp + 0x40]
jmp 0x1400054cd
push rax
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400146b0
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400146b0
add rsp, 0x28
pop rax
add rsp, 0x70
pop r15
ret