Function at 0x140007908
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14006d9f8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rcx
mov qword [rbp - 0x59], rcx
mov r12d, 7
mov qword [rcx + 0x18], r12
xor r13d, r13d
mov qword [rcx + 0x10], r13
mov word [rcx], r13w
lea rbx, [rcx + 0x20]
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
lea rsi, [rcx + 0x40]
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x10], r13
mov word [rsi], r13w
lea rdi, [rcx + 0x60]
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x10], r13
mov word [rdi], r13w
mov qword [rcx + 0x98], r12
mov qword [rcx + 0x90], r13
mov word [rcx + 0x80], r13w
cmp rcx, rdx
je 0x1400079ae
or r9, 0xffffffffffffffff
xor r8d, r8d
call fcn.14000584c
lea rcx, [rbp - 0x29]
call fcn.1400020e0
mov r15, rax
cmp rbx, rax
je 0x1400079e5
cmp qword [rbx + 0x18], 8
jb 0x1400079ce
mov rcx, qword [rbx]
call fcn.14003440c
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x10], r13
mov word [rbx], r13w
mov rdx, r15
mov rcx, rbx
call fcn.1400057dc
cmp qword [rbp - 0x11], 8
jb 0x1400079f5
mov rcx, qword [rbp - 0x29]
call fcn.14003440c
lea r8, [0x14005ff98]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140006ca0
mov rbx, rax
cmp rsi, rax
je 0x140007a36
cmp qword [rsi + 0x18], 8
jb 0x140007a1f
mov rcx, qword [rsi]
call fcn.14003440c
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x10], r13
mov word [rsi], r13w
mov rdx, rbx
mov rcx, rsi
call fcn.1400057dc
cmp qword [rbp - 0x11], 8
jb 0x140007a46
mov rcx, qword [rbp - 0x29]
call fcn.14003440c
mov sil, r13b
mov edx, 1
xor ecx, ecx
lea r8d, [rdx + 0x17]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r12, rax
test rax, rax
je 0x140007b6e
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r15d, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140007b65
test r15d, r15d
je 0x140007b65
mov qword [rbp - 0x31], 0xf
mov qword [rbp - 0x39], r13
mov byte [rbp - 0x49], r13b
mov r8d, r15d
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140005580
mov r15, qword [rbp - 0x39]
cmp r15, 0x1c
jb 0x140007b36
add r15, 0xffffffffffffffe5
lea rsi, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rsi, qword [rbp - 0x49]
test r15, r15
je 0x140007b36
mov r8, r15
mov edx, 0x6c
mov rcx, rsi
call fcn.140033784
mov rbx, rax
test rax, rax
je 0x140007b36
mov r8d, 0x1c
lea rdx, [0x14005fbc8]
mov rcx, rax
call fcn.14003ac20
test eax, eax
je 0x140007b1d
sub rsi, rbx
dec rsi
add r15, rsi
lea rsi, [rbx + 1]
jmp 0x140007ad8
lea rax, [rbp - 0x49]
mov rcx, qword [rbp - 0x49]
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
cmovae rax, rcx
sub rbx, rax
jmp 0x140007b42
or rbx, 0xffffffffffffffff
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x49]
cmp rbx, 0xffffffffffffffff
setne sil
cmp rdx, 0x10
jb 0x140007b55
call fcn.14003440c
mov qword [rbp - 0x31], 0xf
mov qword [rbp - 0x39], r13
mov byte [rbp - 0x49], r13b
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [r14 + 0xa0], sil
lea rdx, [rbp - 9]
call fcn.140009360
nop
cmp qword [rbp + 7], r13
je 0x140007baa
lea rax, [rbp - 9]
cmp rdi, rax
je 0x140007c93
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.14000584c
jmp 0x140007c93
lea rcx, [rbp - 0x29]
call fcn.14000202c
nop
mov esi, 7
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x39], r13
mov word [rbp - 0x49], r13w
lea r8d, [rsi + 4]
lea rdx, [0x14005ffc8]
lea rcx, [rbp - 0x49]
call fcn.140006368
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x29]
lea rcx, [rsp + 0x40]
call fcn.140002250
nop
lea r8, str..exe
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140006c54
mov rbx, rax
cmp rdi, rax
je 0x140007c30
cmp qword [rdi + 0x18], 8
jb 0x140007c19
mov rcx, qword [rdi]
call fcn.14003440c
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x10], r13
mov word [rdi], r13w
mov rdx, rbx
mov rcx, rdi
call fcn.1400057dc
cmp qword [rsp + 0x38], 8
jb 0x140007c42
mov rcx, qword [rsp + 0x20]
call fcn.14003440c
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r13
mov word [rsp + 0x20], r13w
cmp qword [rbp - 0x71], 8
jb 0x140007c63
mov rcx, qword [rsp + 0x40]
call fcn.14003440c
mov qword [rbp - 0x71], rsi
mov qword [rbp - 0x79], r13
mov word [rsp + 0x40], r13w
cmp qword [rbp - 0x31], 8
jb 0x140007c82
mov rcx, qword [rbp - 0x49]
call fcn.14003440c
nop
cmp qword [rbp - 0x11], 8
jb 0x140007c93
mov rcx, qword [rbp - 0x29]
call fcn.14003440c
nop
cmp qword [rbp + 0xf], 8
jb 0x140007ca4
mov rcx, qword [rbp - 9]
call fcn.14003440c
nop
mov rax, r14
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400326d0
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret