Function at 0x140003946
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 0x140003959
sub rsp, 0x28
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.140013400
add rsp, 0x10
push 0x21
pop rcx
call fcn.14000f440
mov qword [rsp + 0x30], rax
push 0x21
push qword [rsp + 0x38]
pop rcx
pop rdx
call fcn.14000f5b0
push 0x20
push qword [rsp + 0x38]
mov rax, qword [0x14001bb34]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
call fcn.14000f5c0
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.14000f5f0
push qword [0x14001c4e0]
sub rsp, 8
push qword [0x14001c4e0]
push qword [0x14001c4e0]
push qword [0x14001c4e0]
push 0x21
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400113b0
add rsp, 0x20
mov rdx, qword [0x14001c4f0]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140005b40
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.1400131e0
push qword [rsp + 0x30]
pop rcx
call fcn.14000f590
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 0x140003bd3
push qword [rsp + 0x40]
push qword [rsp + 0x88]
pop rcx
pop rdx
call sub.KERNEL32.dll_LoadResource
mov qword [0x14001b98c], rax
push qword [rsp + 0x40]
push qword [rsp + 0x88]
pop rcx
pop rdx
call sub.KERNEL32.dll_SizeofResource
mov qword [0x14001b9b4], rax
push qword [rsp + 0x28]
movabs rcx, 0x14001a027
pop rdx
call fcn.140013470
or rax, rax
jne 0x140003af2
push qword [rsp + 0x28]
movabs rcx, 0x14001a02b
pop rdx
call fcn.140013470
or rax, rax
jne 0x140003af2
push qword [rsp + 0x28]
movabs rcx, 0x14001a02d
pop rdx
call fcn.140013470
or rax, rax
jne 0x140003af2
jmp 0x140003afb
mov rax, 1
jmp 0x140003afe
xor rax, rax
and rax, rax
je 0x140003bd3
push qword [0x14001b9b4]
pop rcx
call fcn.14000f440
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
mov r15, qword [0x14001b9b4]
dec r15
cmp r15, qword [rsp + 0x50]
jl 0x140003b7b
mov r15, qword [0x14001b98c]
add r15, qword [rsp + 0x50]
mov rax, r15
push rax
pop rcx
call fcn.14000f460
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.14000f470
inc qword [rsp + 0x50]
jno 0x140003b21
push qword [0x14001bb34]
push qword [0x14001b9b4]
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
call fcn.140002000
push qword [rsp + 0x48]
pop rax
mov qword [0x14001b98c], rax
push qword [0x14001b9b4]
push qword [rsp + 0x50]
pop rcx
pop rdx
call fcn.140004655
mov qword [rsp + 0x68], rax
push qword [rsp + 0x68]
pop rax
mov qword [0x14001b98c], rax
push qword [rsp + 0x68]
pop rcx
call fcn.14000f630
mov qword [0x14001b9b4], rax
mov rax, qword [rsp + 0x40]
jmp 0x140003bdd
push rax
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400134d0
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400134d0
add rsp, 0x28
pop rax
add rsp, 0x70
pop r15
ret