Function at 0x14002fe80
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 [0x140178a90]
xor rax, rbp
mov qword [rbp + 0x108], rax
mov r15, rcx
add rcx, 0x180
cmp qword [rcx + 0x18], 0x10
jb 0x14002fedb
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
lea r8, [0x14007fe5c]
mov edx, 0x3e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x1400305ff
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400305ff
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 0x14002ff4f
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140061550
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 0x14002ff98
mov r8d, r12d
jmp 0x14002ffa9
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], r12b
jne 0x14002ffa0
mov rdx, rdi
lea rcx, [rbp + 0xe8]
call fcn.140008170
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
lea rdx, [0x14007f8fc]
lea rcx, [rbp + 8]
call fcn.140024a70
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 0x14002fff7
lea rax, [rbp + 0x30]
mov rdx, rbx
jmp 0x14003000a
mov rcx, r8
call fcn.14006152c
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.140026590
mov r8, rax
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x50]
call fcn.140024d70
nop
cmp qword [rbx + 0x10], 0x10
jbe 0x140030050
mov rcx, qword [rbx]
test rcx, rcx
je 0x140030050
call fcn.140061534
mov rbx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
cmp rbx, rdx
je 0x140030565
movabs r13, 0x7ffffffffffffff
movzx edi, byte [rbp]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
lea rdx, [0x14007fe64]
lea rcx, [rbp + 0x68]
call fcn.140024a70
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 0x1400300ae
lea rax, [rbp + 8]
mov rdx, rsi
jmp 0x1400300c1
mov rcx, r8
call fcn.14006152c
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.140026590
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140024b20
nop
cmp qword [rsi + 0x10], 0x10
jbe 0x140030103
mov rcx, qword [rsi]
test rcx, rcx
je 0x140030103
call fcn.140061534
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
sub rax, rcx
sar rax, 5
cmp rax, 2
jne 0x140030495
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.140008040
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.140008040
nop
cmp qword [rbp + 0xb8], 0
je 0x1400303d0
cmp qword [rbp + 0xd8], 0
je 0x1400303d0
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.140032ef0
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.140026950
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.140026880
nop
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x140030236
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140030236
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
test r14, r14
je 0x140030258
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
test rax, rax
je 0x140030258
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.140032ef0
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.140026950
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.140026880
nop
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1400302f1
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400302f1
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
test r14, r14
je 0x140030313
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
test rax, rax
je 0x140030313
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 0x1400303a8
mov rcx, qword [rsi]
lea rdx, [rbp + 0x20]
cmp rcx, rdx
ja 0x1400303a8
lea r14, [rbp + 0x20]
sub r14, rcx
sar r14, 3
cmp rax, qword [rsi + 0x10]
jne 0x140030396
mov edx, 1
mov rcx, rsi
call fcn.14002dd80
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400303cb
mov rax, qword [rax + r14*8]
jmp 0x1400303c8
cmp rax, qword [rsi + 0x10]
jne 0x1400303bb
mov edx, 1
mov rcx, rsi
call fcn.14002dd80
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400303cb
mov rax, qword [rbp + 0x20]
mov qword [rcx], rax
add qword [rsi + 8], 8
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140030424
inc rax
mov rcx, qword [rbp + 0xc8]
cmp rax, 0x1000
jb 0x14003041f
test cl, 0x1f
jne 0x14003051b
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140030514
sub rcx, rax
cmp rcx, 8
jb 0x14003050d
cmp rcx, 0x27
ja 0x140030506
mov rcx, rax
call fcn.140060dd4
mov qword [rbp + 0xe0], 0xf
mov qword [rbp + 0xd8], r12
mov byte [rbp + 0xc8], 0
mov rax, qword [rbp + 0xc0]
cmp rax, 0x10
jb 0x140030491
inc rax
mov rcx, qword [rbp + 0xa8]
cmp rax, 0x1000
jb 0x14003048c
test cl, 0x1f
jne 0x140030537
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140030530
sub rcx, rax
cmp rcx, 8
jb 0x140030529
cmp rcx, 0x27
ja 0x140030522
mov rcx, rax
call fcn.140060dd4
mov rcx, qword [rbp + 0x30]
add rbx, 0x20
test rcx, rcx
je 0x1400304f8
movzx r9d, dil
lea r8, [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
call fcn.140016c90
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x30]
sub rax, rcx
sar rax, 5
cmp rax, r13
ja 0x14003055a
shl rax, 5
cmp rax, 0x1000
jb 0x1400304f3
test cl, 0x1f
jne 0x140030553
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003054c
sub rcx, rax
cmp rcx, 8
jb 0x140030545
cmp rcx, 0x27
ja 0x14003053e
mov rcx, rax
call fcn.140060dd4
mov rdx, qword [rbp + 0x58]
cmp rbx, rdx
je 0x140030561
jmp 0x140030070
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 0x14003059f
movzx r9d, byte [rbp]
lea r8, [rbp + 0x50]
mov rcx, rbx
call fcn.140016c90
mov r8, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x50]
sub r8, rdx
sar r8, 5
lea rcx, [rbp + 0x50]
call fcn.140019c40
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov rax, qword [rbp + 0x100]
cmp rax, 0x10
jb 0x1400305ff
inc rax
mov rcx, qword [rbp + 0xe8]
cmp rax, 0x1000
jb 0x1400305fa
test cl, 0x1f
je 0x1400305ca
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 0x1400305da
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 0x1400305ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400305f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140060dd4
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.140061450
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