Function at 0x14002fa60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x130
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x80], 0xfffffffffffffffe
mov qword [rbp + 0x148], rbx
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], rdi
mov rax, qword [0x140119a90]
xor rax, rbp
mov qword [rbp + 0x108], rax
mov r15, rcx
add rcx, 0x180
cmp qword [rcx + 0x18], 0x10
jb 0x14002fabb
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
lea r8, str.VDID
mov edx, 0x3e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x1400301df
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400301df
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rax
lea ecx, [rbx + 1]
mov edx, ecx
lea rax, [rcx + 0xf]
cmp rax, rdx
ja 0x14002fb2f
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140061020
sub rsp, rax
lea rdi, [rsp + 0x20]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
mov qword [rbp + 0x100], 0xf
xor r12d, r12d
mov qword [rbp + 0xf8], r12
mov byte [rbp + 0xe8], r12b
cmp byte [rdi], r12b
jne 0x14002fb78
mov r8d, r12d
jmp 0x14002fb89
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], r12b
jne 0x14002fb80
mov rdx, rdi
lea rcx, [rbp + 0xe8]
call fcn.140008230
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
lea rdx, [0x14007f6ec]
lea rcx, [rbp + 8]
call fcn.140024740
mov rbx, rax
mov qword [rbp + 0x20], rax
mov r8, qword [rax + 0x10]
mov qword [rbp + 0x40], r8
mov qword [rbp + 0x30], r12
cmp r8, 0x10
ja 0x14002fbd7
lea rax, [rbp + 0x30]
mov rdx, rbx
jmp 0x14002fbea
mov rcx, r8
call fcn.140060ffc
mov qword [rbp + 0x30], rax
mov rdx, qword [rbx]
mov r8, qword [rbp + 0x40]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 1
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0xa8]
call fcn.140026260
mov r8, rax
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x50]
call fcn.140024a40
nop
cmp qword [rbx + 0x10], 0x10
jbe 0x14002fc30
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002fc30
call fcn.140061004
mov rbx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
cmp rbx, rdx
je 0x140030145
movabs r13, 0x7ffffffffffffff
movzx edi, byte [rbp]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
lea rdx, [0x14007fc44]
lea rcx, [rbp + 0x68]
call fcn.140024740
mov rsi, rax
mov qword [rbp + 0x28], rax
mov r8, qword [rax + 0x10]
mov qword [rbp + 0x18], r8
mov qword [rbp + 8], r12
cmp r8, 0x10
ja 0x14002fc8e
lea rax, [rbp + 8]
mov rdx, rsi
jmp 0x14002fca1
mov rcx, r8
call fcn.140060ffc
mov qword [rbp + 8], rax
mov rdx, qword [rsi]
mov r8, qword [rbp + 0x18]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 1
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xa8]
call fcn.140026260
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.1400247f0
nop
cmp qword [rsi + 0x10], 0x10
jbe 0x14002fce3
mov rcx, qword [rsi]
test rcx, rcx
je 0x14002fce3
call fcn.140061004
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
sub rax, rcx
sar rax, 5
cmp rax, 2
jne 0x140030075
mov qword [rbp + 0xc0], 0xf
mov qword [rbp + 0xb8], r12
mov byte [rbp + 0xa8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
lea rcx, [rbp + 0xa8]
call fcn.140008100
nop
mov rdx, qword [rbp + 0x30]
add rdx, 0x20
mov qword [rbp + 0xe0], 0xf
mov qword [rbp + 0xd8], r12
mov byte [rbp + 0xc8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp + 0xc8]
call fcn.140008100
nop
cmp qword [rbp + 0xb8], 0
je 0x14002ffb0
cmp qword [rbp + 0xd8], 0
je 0x14002ffb0
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov r14, rax
mov qword [rbp + 0x90], rax
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x68]
call fcn.140032ae0
mov rsi, rax
mov qword [rbp + 0x48], rax
movzx ecx, word [rax]
mov word [rbp + 8], cx
mov rcx, qword [rax + 0x10]
mov qword [rbp + 0x18], rcx
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xa8]
call fcn.140026620
movzx eax, word [rsi]
mov word [rbp + 8], ax
mov rcx, qword [rsi + 0x10]
mov qword [rbp + 0x18], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xa8]
call fcn.140026550
nop
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14002fe16
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14002fe16
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
test r14, r14
je 0x14002fe38
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
test rax, rax
je 0x14002fe38
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov r14, rax
mov qword [rbp + 0xa0], rax
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x68]
call fcn.140032ae0
mov rsi, rax
mov qword [rbp + 0x48], rax
movzx ecx, word [rax]
mov word [rbp + 8], cx
mov rcx, qword [rax + 0x10]
mov qword [rbp + 0x18], rcx
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xc8]
call fcn.140026620
movzx eax, word [rsi]
mov word [rbp + 8], ax
mov rcx, qword [rsi + 0x10]
mov qword [rbp + 0x18], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xc8]
call fcn.140026550
nop
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14002fed1
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14002fed1
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
test r14, r14
je 0x14002fef3
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
test rax, rax
je 0x14002fef3
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
lea rcx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0x10
cmovae rcx, qword [rbp + 0xc8]
lea r14, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae r14, qword [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov esi, eax
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rbp + 0x20], eax
mov dword [rbp + 0x24], esi
lea rsi, [r15 + 0x148]
mov rax, qword [rsi + 8]
lea rcx, [rbp + 0x20]
cmp rcx, rax
jae 0x14002ff88
mov rcx, qword [rsi]
lea rdx, [rbp + 0x20]
cmp rcx, rdx
ja 0x14002ff88
lea r14, [rbp + 0x20]
sub r14, rcx
sar r14, 3
cmp rax, qword [rsi + 0x10]
jne 0x14002ff76
mov edx, 1
mov rcx, rsi
call fcn.14002da40
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14002ffab
mov rax, qword [rax + r14*8]
jmp 0x14002ffa8
cmp rax, qword [rsi + 0x10]
jne 0x14002ff9b
mov edx, 1
mov rcx, rsi
call fcn.14002da40
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14002ffab
mov rax, qword [rbp + 0x20]
mov qword [rcx], rax
add qword [rsi + 8], 8
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140030004
inc rax
mov rcx, qword [rbp + 0xc8]
cmp rax, 0x1000
jb 0x14002ffff
test cl, 0x1f
jne 0x1400300fb
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400300f4
sub rcx, rax
cmp rcx, 8
jb 0x1400300ed
cmp rcx, 0x27
ja 0x1400300e6
mov rcx, rax
call fcn.1400608a4
mov qword [rbp + 0xe0], 0xf
mov qword [rbp + 0xd8], r12
mov byte [rbp + 0xc8], 0
mov rax, qword [rbp + 0xc0]
cmp rax, 0x10
jb 0x140030071
inc rax
mov rcx, qword [rbp + 0xa8]
cmp rax, 0x1000
jb 0x14003006c
test cl, 0x1f
jne 0x140030117
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140030110
sub rcx, rax
cmp rcx, 8
jb 0x140030109
cmp rcx, 0x27
ja 0x140030102
mov rcx, rax
call fcn.1400608a4
mov rcx, qword [rbp + 0x30]
add rbx, 0x20
test rcx, rcx
je 0x1400300d8
movzx r9d, dil
lea r8, [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
call fcn.140016950
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x30]
sub rax, rcx
sar rax, 5
cmp rax, r13
ja 0x14003013a
shl rax, 5
cmp rax, 0x1000
jb 0x1400300d3
test cl, 0x1f
jne 0x140030133
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003012c
sub rcx, rax
cmp rcx, 8
jb 0x140030125
cmp rcx, 0x27
ja 0x14003011e
mov rcx, rax
call fcn.1400608a4
mov rdx, qword [rbp + 0x58]
cmp rbx, rdx
je 0x140030141
jmp 0x14002fc50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [rbp + 0x50]
test rbx, rbx
je 0x14003017f
movzx r9d, byte [rbp]
lea r8, [rbp + 0x50]
mov rcx, rbx
call fcn.140016950
mov r8, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x50]
sub r8, rdx
sar r8, 5
lea rcx, [rbp + 0x50]
call fcn.14004c180
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov rax, qword [rbp + 0x100]
cmp rax, 0x10
jb 0x1400301df
inc rax
mov rcx, qword [rbp + 0xe8]
cmp rax, 0x1000
jb 0x1400301da
test cl, 0x1f
je 0x1400301aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400301ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400301ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400301d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1400608a4
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.140060f20
mov rbx, qword [rbp + 0x148]
mov rsi, qword [rbp + 0x150]
mov rdi, qword [rbp + 0x158]
lea rsp, [rbp + 0x110]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret