Function at 0x140082cb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov r8, r9
cmp qword [r9 + 0x18], 7
jbe 0x140082d01
mov r8, qword [r9]
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140082d0e
mov rdx, qword [rsi]
xor ecx, ecx
mov r9d, 0x409
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rbx, rax
test rax, rax
je 0x1400832a4
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r15d, eax
test eax, eax
jne 0x140082e64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.140067d40
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140082d5f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x140594d50]
call fcn.14001df00
lea rdx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonResourceFileExtractor.cpp
mov rcx, rax
call fcn.140021910
mov rcx, rax
lea rdx, [0x1404df780]
call fcn.140021910
mov edx, 0x50
mov rcx, rax
call fcn.140020fa0
mov rcx, rax
lea rdx, [0x1404dec48]
call fcn.140021910
mov rcx, rax
lea rdx, str.Error_getting
call fcn.140021910
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140082dc4
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.14001df00
lea rdx, [0x1404f9140]
mov rcx, rax
call fcn.140021910
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140082dec
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14001df00
lea rdx, str._size:
mov rcx, rax
call fcn.140021910
mov edx, ebx
mov rcx, rax
call fcn.14001dd00
mov rcx, rax
call fcn.14001d5c0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400833ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400833a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400833f5
jmp 0x1400833a7
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140082f9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.140067d40
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140082e99
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x140594d50]
call fcn.14001df00
lea rdx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonResourceFileExtractor.cpp
mov rcx, rax
call fcn.140021910
mov rcx, rax
lea rdx, [0x1404df780]
call fcn.140021910
mov edx, 0x58
mov rcx, rax
call fcn.140020fa0
mov rcx, rax
lea rdx, [0x1404dec48]
call fcn.140021910
mov rcx, rax
lea rdx, str.Error_loading
call fcn.140021910
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140082efe
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.14001df00
lea rdx, [0x1404f9140]
mov rcx, rax
call fcn.140021910
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140082f26
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14001df00
lea rdx, str._resource:
mov rcx, rax
call fcn.140021910
mov edx, ebx
mov rcx, rax
call fcn.14001dd00
mov rcx, rax
call fcn.14001d5c0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400833ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400833a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400833fb
jmp 0x1400833a7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
xor ecx, ecx
call fcn.1401615ec
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x70]
call fcn.1403ec370
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140082fd0
mov rdx, qword [r14]
mov r8d, 0x32
lea rcx, [rsp + 0x70]
call fcn.140023220
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x80], 6
je 0x140083129
lea rcx, [rsp + 0x38]
call fcn.140067d40
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140083035
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x140594d50]
call fcn.14001df00
lea rdx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonResourceFileExtractor.cpp
mov rcx, rax
call fcn.140021910
mov rcx, rax
lea rdx, [0x1404df780]
call fcn.140021910
mov edx, 0x67
mov rcx, rax
call fcn.140020fa0
mov rcx, rax
lea rdx, [0x1404dec48]
call fcn.140021910
mov rcx, rax
lea rdx, str.Error_creating
call fcn.140021910
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14008309a
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.14001df00
lea rdx, str._on_disk__
mov rcx, rax
call fcn.140021910
mov rbx, rax
call fcn.1401615cc
mov edx, dword [rax]
mov rcx, rbx
call fcn.140020fa0
mov rcx, rax
lea rdx, [0x1404f91d0]
call fcn.140021910
mov rcx, rax
call fcn.14001d5c0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14008325e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083258
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083401
jmp 0x140083258
xor ecx, ecx
call fcn.1401615ec
mov r8, r15
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14002ef40
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx - 0x80]
shr eax, 2
test al, 1
je 0x14008326d
lea rcx, [rsp + 0x38]
call fcn.140067d40
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140083171
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x140594d50]
call fcn.14001df00
lea rdx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonResourceFileExtractor.cpp
mov rcx, rax
call fcn.140021910
mov rcx, rax
lea rdx, [0x1404df780]
call fcn.140021910
mov edx, 0x6d
mov rcx, rax
call fcn.140020fa0
mov rcx, rax
lea rdx, [0x1404dec48]
call fcn.140021910
mov rcx, rax
lea rdx, str.Error_writing
call fcn.140021910
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x1400831d6
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.14001df00
lea rdx, str._to_disk__
mov rcx, rax
call fcn.140021910
mov rbx, rax
call fcn.1401615cc
mov edx, dword [rax]
mov rcx, rbx
call fcn.140020fa0
mov rcx, rax
lea rdx, [0x1404f91d0]
call fcn.140021910
mov rcx, rax
call fcn.14001d5c0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14008325e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083258
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083407
call fcn.14014f510
nop
lea rcx, [rsp + 0x70]
call fcn.14001b410
jmp 0x1400833ad
lea rcx, [rsp + 0x70]
call fcn.1400196c0
nop
lea rcx, [rsp + 0x70]
call fcn.14001b410
nop
mov rcx, r14
call fcn.140021d30
nop
mov rcx, rsi
call fcn.140021d30
nop
mov rcx, rdi
call fcn.140021d30
mov al, 1
jmp 0x1400833c9
lea rcx, [rsp + 0x38]
call fcn.140067d40
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x1400832bd
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x140594d50]
call fcn.14001df00
lea rdx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonResourceFileExtractor.cpp
mov rcx, rax
call fcn.140021910
mov rcx, rax
lea rdx, [0x1404df780]
call fcn.140021910
mov edx, 0x74
mov rcx, rax
call fcn.140020fa0
mov rcx, rax
lea rdx, [0x1404dec48]
call fcn.140021910
mov rcx, rax
lea rdx, str.Resource
call fcn.140021910
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140083322
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.14001df00
lea rdx, [0x1404f9140]
mov rcx, rax
call fcn.140021910
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14008334a
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14001df00
lea rdx, str._not_found
mov rcx, rax
call fcn.140021910
mov rcx, rax
call fcn.14001d5c0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400833ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400833a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400833ef
call fcn.14014f510
nop
mov rcx, r14
call fcn.140021d30
nop
mov rcx, rsi
call fcn.140021d30
nop
mov rcx, rdi
call fcn.140021d30
xor al, al
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14014f4f0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14015fa1c
nop
call fcn.14015fa1c
int3
call fcn.14015fa1c
nop
call fcn.14015fa1c
int3
call fcn.14015fa1c
int3