Function at 0x140005370
Capabilities:
Check if file exists
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1400b8080]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r13, rcx
xor r12d, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
lea r8, [0x140097e80]
mov edx, 0x8e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
xor r9d, r9d
mov edx, eax
mov rcx, rbx
call fcn.14000ec60
mov rbx, rax
mov r14d, r12d
mov dword [rbp - 0x40], r12d
mov word [rbp - 0x3c], r12w
mov dword [rbp + 0x1ec], r12d
test rax, rax
jne 0x140005424
mov eax, 0x10000
jmp 0x140005446
cmp dword [rax], 1
je 0x140005430
mov eax, 0x80000
jmp 0x140005446
lea r8, [rbp - 0x40]
mov edx, 0xffffffff
mov rcx, qword [rax + 8]
call fcn.14000ddc0
mov r14d, dword [rbp - 0x40]
mov dword [0x1400be120], eax
mov eax, 0x64
cdq
idiv r14d
mov r15d, eax
mov edi, r12d
test r14d, r14d
jle 0x140005626
movabs r8, 0x7ffffffffffffffe
mov dword [rbp - 0x40], r12d
mov word [rbp - 0x3c], r12w
mov dword [rbp + 0x1ec], r12d
test rbx, rbx
jne 0x14000548a
mov eax, 0x10000
jmp 0x1400054af
cmp dword [rbx], 1
je 0x140005496
mov eax, 0x80000
jmp 0x1400054af
lea r8, [rbp - 0x40]
mov edx, edi
mov rcx, qword [rbx + 8]
call fcn.14000ddc0
movabs r8, 0x7ffffffffffffffe
mov dword [0x1400be120], eax
mov rdx, qword [r13 + 0x368]
lea rcx, [rbp - 0x3c]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400054d0
mov rcx, r8
sub rcx, rdx
cmp rcx, rax
jb 0x1400056c3
lea r9, [r13 + 0x358]
cmp qword [r13 + 0x370], 7
jbe 0x140005501
mov r9, qword [r13 + 0x358]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x58]
call fcn.140008c50
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140005587
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
cmp rax, 7
cmova r8, rcx
test rbx, rbx
je 0x140005678
cmp dword [rbx], 1
jne 0x14000566c
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, edi
mov rcx, qword [rbx + 8]
call fcn.14000e690
mov dword [0x1400be120], eax
test eax, eax
jne 0x140005660
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x50], r15d
lea rax, vtable.std::_Func_impl_no_alloc_class__private:_bool___cdecl_MainForm::UnzipFile_void____ptr64::_4::_lambda_1___void___.0
mov qword [rbp - 0x80], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x78], xmm0
lea rax, [rbp - 0x80]
mov qword [rbp - 0x48], rax
mov r8d, 0x249f0
lea rdx, [rbp - 0x80]
xor ecx, ecx
call fcn.14000f2d0
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400055d9
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000561b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005616
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400056bd
call fcn.140061530
inc edi
cmp edi, r14d
jl 0x140005464
mov rcx, rbx
call fcn.14000ee10
mov al, 1
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140061510
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
jmp 0x140005682
mov dword [0x1400be120], 0x80000
jmp 0x140005682
mov dword [0x1400be120], 0x10000
cmp rax, 7
jbe 0x1400056b6
lea rdx, [rax*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400056bd
call fcn.140061530
xor al, al
jmp 0x140005630
call fcn.14006a6c0
int3
call fcn.1400014b0
int3