Function at 0x140005223
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 0x140005236
sub rsp, 0x28
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140013fe0
add rsp, 0x10
push 0x21
pop rcx
call fcn.14000fdf0
mov qword [rsp + 0x30], rax
push 0x21
push qword [rsp + 0x38]
pop rcx
pop rdx
call fcn.14000ff90
push 0x20
push qword [rsp + 0x38]
mov rax, qword [0x14001cca4]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
call fcn.14000ffa0
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.14000ffd0
push qword [0x14001d660]
sub rsp, 8
push qword [0x14001d660]
push qword [0x14001d660]
push qword [0x14001d660]
push 0x21
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140011f30
add rsp, 0x20
mov rdx, qword [0x14001d670]
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.140013e50
push qword [rsp + 0x30]
pop rcx
call fcn.14000ff40
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 0x1400054c9
push qword [rsp + 0x40]
push qword [rsp + 0x88]
pop rcx
pop rdx
call sub.KERNEL32.dll_LoadResource
mov qword [0x14001ca14], rax
push qword [rsp + 0x40]
push qword [rsp + 0x88]
pop rcx
pop rdx
call sub.KERNEL32.dll_SizeofResource
mov qword [0x14001ca3c], rax
push qword [rsp + 0x28]
movabs rcx, 0x14001b027
pop rdx
call fcn.140013f10
or rax, rax
jne 0x1400053e8
push qword [rsp + 0x28]
movabs rcx, 0x14001b02b
pop rdx
call fcn.140013f10
or rax, rax
jne 0x1400053e8
push qword [rsp + 0x28]
movabs rcx, 0x14001b02d
pop rdx
call fcn.140013f10
or rax, rax
jne 0x1400053e8
push qword [rsp + 0x28]
movabs rcx, 0x14001b035
pop rdx
call fcn.140013f10
or rax, rax
jne 0x1400053e8
jmp 0x1400053f1
mov rax, 1
jmp 0x1400053f4
xor rax, rax
and rax, rax
je 0x1400054c9
push qword [0x14001ca3c]
pop rcx
call fcn.14000fdf0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
mov r15, qword [0x14001ca3c]
dec r15
cmp r15, qword [rsp + 0x50]
jl 0x140005471
mov r15, qword [0x14001ca14]
add r15, qword [rsp + 0x50]
mov rax, r15
push rax
pop rcx
call fcn.14000fe10
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.14000fe20
inc qword [rsp + 0x50]
jno 0x140005417
push qword [0x14001cca4]
push qword [0x14001ca3c]
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
call fcn.140004000
push qword [rsp + 0x48]
pop rax
mov qword [0x14001ca14], rax
push qword [0x14001ca3c]
push qword [rsp + 0x50]
pop rcx
pop rdx
call fcn.140005a0c
mov qword [rsp + 0x68], rax
push qword [rsp + 0x68]
pop rax
mov qword [0x14001ca14], rax
push qword [rsp + 0x68]
pop rcx
call fcn.140010010
mov qword [0x14001ca3c], rax
mov rax, qword [rsp + 0x40]
jmp 0x1400054d3
push rax
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.140014050
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.140014050
add rsp, 0x28
pop rax
add rsp, 0x70
pop r15
ret