Function at 0x14000bb60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400670c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, qword [rdx + 0x10]
xor edi, edi
mov rbp, rdx
test rbx, rbx
je 0x14000bbaa
mov rax, rbx
cmp word [rbx], di
je 0x14000bba0
add rax, 2
cmp word [rax], di
jne 0x14000bb97
sub rax, rbx
sar rax, 1
mov esi, eax
jmp 0x14000bbb0
mov rbx, rdi
mov rsi, rdi
lea rdx, str.res:
mov qword [rsp + 0x290], r14
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
call fcn.140005780
test eax, eax
js 0x14000bd55
call fcn.14000d620
lea r14, [rbx + 8]
mov rsi, rax
test r14, r14
je 0x14000be13
cmp word [r14], di
je 0x14000be13
mov r8d, 4
lea rdx, [0x140055610]
mov rcx, r14
call fcn.140016044
test eax, eax
lea rdx, [0x14005561c]
mov r8d, 2
cmovne r14, rbx
add r14, 8
mov rcx, r14
call fcn.140016044
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x20a
mov ebx, eax
call fcn.140029ab0
mov edx, 0x105
lea r8, [r14 + 4]
test ebx, ebx
lea rcx, [rsp + 0x50]
cmovne r8, r14
lea r9d, [rdx - 1]
call fcn.140015f48
mov edx, 0x2e
lea rcx, [rsp + 0x50]
call fcn.14000ff2c
mov rbx, rax
test rax, rax
je 0x14000bca8
mov word [rax], di
add rbx, 2
je 0x14000bca8
lea rdx, str.HTML
mov rcx, rbx
call fcn.14001614c
test eax, eax
je 0x14000bca8
lea rdx, [0x140055638]
mov rcx, rbx
call fcn.14001614c
mov r8, rbx
test eax, eax
jne 0x14000bcae
mov r8d, 0x17
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14000be13
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000be13
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14000be13
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x14000be13
mov rbx, qword [rbp + 0x10]
mov rdi, qword [rbp + 8]
call fcn.140008930
mov r9d, esi
mov r8, r14
mov rdx, rbx
mov rcx, rdi
mov r10, qword [rax + 0x18]
call r10
xor eax, eax
mov r14, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000f2c0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.this:__app_
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rsi
call fcn.140005780
test eax, eax
js 0x14000bd28
call fcn.14000b770
lea rsi, [rbx + 0x16]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x40], edi
mov r14, rax
test rsi, rsi
je 0x14000bdac
mov rcx, rsi
cmp word [rsi], di
je 0x14000bd9f
add rcx, 2
cmp word [rcx], di
jne 0x14000bd96
sub rcx, rsi
mov rdi, rsi
sar rcx, 1
mov eax, ecx
jmp 0x14000bdaf
mov rax, rdi
lea rdx, [0x140055608]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.140005780
mov ebx, eax
call fcn.140008930
mov rcx, qword [r14]
lea rdx, [rsi + 4]
test ebx, ebx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
mov r10, qword [rax + 0x510]
cmovs rdx, rsi
call r10
mov r9d, dword [rsp + 0x40]
test r9, r9
je 0x14000be13
mov r8, qword [rsp + 0x30]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp + 8]
call fcn.140008a80
jmp 0x14000bd28
mov eax, 1
jmp 0x14000bd2a