Function at 0x1400065ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x450
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3c8], 0xfffffffffffffffe
xor eax, eax
mov qword [rbp + 0x3c0], rax
mov qword [rbp + 0x398], rcx
mov qword [rbp + 0x390], rax
mov qword [rbp - 0x78], rax
mov esi, 0x8007000e
test rdx, rdx
je 0x1400068c5
mov r14, r9
mov r15, r8
mov rbx, rdx
sub rsp, 0x20
mov rcx, rdx
call fcn.14000fbd8
add rsp, 0x20
shl rax, 0x20
movabs rcx, 0x100000000
add rcx, rax
mov rdi, rcx
sar rdi, 0x1f
mov rax, rdi
sub rax, 0xffffffff80000000
shr rax, 0x20
jne 0x1400068c5
shr rcx, 0x1f
movsxd rsi, ecx
cmp edi, 0x400
jg 0x1400066ba
sub rsp, 0x20
mov rcx, rsi
call fcn.140005d9b
add rsp, 0x20
test al, al
je 0x1400066ba
add rsi, 0xf
and rsi, 0xfffffffffffffff0
mov rax, rsi
call fcn.140009d60
sub rsp, rax
mov r12, rsp
jmp 0x1400066dd
sub rsp, 0x20
lea rcx, [rbp + 0x3c0]
mov rdx, rsi
call fcn.140005dd2
add rsp, 0x20
mov r12, rax
test rax, rax
je 0x140006833
mov byte [r12], 0
sub rsp, 0x40
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
mov ecx, 3
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add rsp, 0x40
test eax, eax
mov esi, 0x8007000e
je 0x1400068c5
sub rsp, 0x20
mov rcx, r12
xor edx, edx
mov r8d, 0x60
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
add rsp, 0x20
mov rdi, rax
test rax, rax
jne 0x140006764
sub rsp, 0x20
mov rcx, r12
xor edx, edx
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
add rsp, 0x20
mov rdi, rax
test rax, rax
je 0x14000684e
sub rsp, 0x20
mov rcx, rdi
mov rdx, r15
mov r8, r14
call qword [sym.imp.KERNEL32.dll_FindResourceA]
add rsp, 0x20
test rax, rax
je 0x14000683d
mov rsi, rax
sub rsp, 0x20
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
add rsp, 0x20
test rax, rax
je 0x14000683d
mov rbx, rax
sub rsp, 0x20
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
add rsp, 0x20
mov esi, 0x8007000e
cmp eax, 0xffffffff
je 0x1400068b4
cmp eax, 0x400
mov qword [rbp + 0x3b0], rdi
jb 0x14000685f
mov qword [rbp + 0x3a0], rbx
mov qword [rbp + 0x3a8], rax
lea edx, [rax + 1]
sub rsp, 0x20
lea rcx, [rbp - 0x78]
call fcn.140006b8a
add rsp, 0x20
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x3b8], rax
mov rcx, qword [rbp + 0x3b8]
test rcx, rcx
mov esi, 0x8007000e
mov rdi, qword [rbp + 0x3b0]
mov rbx, qword [rbp + 0x3a0]
mov rax, qword [rbp + 0x3a8]
jne 0x14000686b
jmp 0x1400068b4
mov esi, 0x8007000e
jmp 0x1400068c5
sub rsp, 0x20
call fcn.140005d65
add rsp, 0x20
mov esi, eax
jmp 0x1400068b4
sub rsp, 0x20
call fcn.140005d65
add rsp, 0x20
mov esi, eax
jmp 0x1400068c5
lea rcx, [rbp - 0x70]
mov qword [rcx - 8], rcx
test eax, eax
je 0x140006882
mov esi, eax
sub rsp, 0x20
mov rdx, rbx
mov r8, rsi
call fcn.14000c040
add rsp, 0x20
jmp 0x140006884
xor esi, esi
mov r8d, dword [rbp + 0x430]
mov rax, qword [rbp - 0x78]
mov byte [rax + rsi], 0
mov rdx, qword [rbp - 0x78]
sub rsp, 0x20
lea rcx, [rbp + 0x390]
call fcn.1400069b8
add rsp, 0x20
mov esi, eax
mov rdi, qword [rbp + 0x3b0]
sub rsp, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rsp, 0x20
lea rax, [rbp - 0x70]
cmp qword [rax - 8], rax
je 0x1400068f5
sub rsp, 0x20
lea rcx, [rbp - 0x78]
call fcn.140008e0e
jmp 0x1400068f1
mov rax, qword [rcx]
mov qword [rbp + 0x3c0], rax
sub rsp, 0x20
call fcn.14000fad8
add rsp, 0x20
mov rcx, qword [rbp + 0x3c0]
test rcx, rcx
jne 0x1400068de
mov eax, esi
lea rsp, [rbp + 0x3d0]
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret