Function at 0x14000d800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14018d558]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, qword [rdx + 0x10]
xor edi, edi
mov rbp, rdx
test rbx, rbx
je 0x14000d84a
mov rax, rbx
cmp word [rbx], di
je 0x14000d840
add rax, 2
cmp word [rax], di
jne 0x14000d837
sub rax, rbx
sar rax, 1
mov esi, eax
jmp 0x14000d850
mov rbx, rdi
mov rsi, rdi
lea rdx, str.res:
mov qword [rsp + 0x290], r14
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rsi
call fcn.1400053e0
test eax, eax
js 0x14000d9f5
call fcn.140013270
lea r14, [rbx + 8]
mov rsi, rax
test r14, r14
je 0x14000dad6
cmp word [r14], di
je 0x14000dad6
mov r8d, 4
lea rdx, [0x1401670a8]
mov rcx, r14
call fcn.1400d974c
test eax, eax
lea rdx, [0x1401670b4]
mov r8d, 2
cmovne r14, rbx
add r14, 8
mov rcx, r14
call fcn.1400d974c
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x20a
mov ebx, eax
call fcn.1400d4e70
mov edx, 0x105
lea r8, [r14 + 4]
test ebx, ebx
lea rcx, [rsp + 0x50]
cmovne r8, r14
lea r9d, [rdx - 1]
call fcn.1400d9650
mov edx, 0x2e
lea rcx, [rsp + 0x50]
call fcn.1400d46e8
mov rbx, rax
test rax, rax
je 0x14000d948
mov word [rax], di
add rbx, 2
je 0x14000d948
lea rdx, str.HTML
mov rcx, rbx
call fcn.1400d9854
test eax, eax
je 0x14000d948
lea rdx, [0x1401670d0]
mov rcx, rbx
call fcn.1400d9854
mov r8, rbx
test eax, eax
jne 0x14000d94e
mov r8d, 0x17
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14000dad6
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000dad6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14000dad6
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x14000dad6
mov rbx, qword [rbp + 0x10]
mov rdi, qword [rbp + 8]
call fcn.140003280
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.1400d2c70
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.this:__app_
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x30], rsi
call fcn.1400053e0
test eax, eax
js 0x14000d9c8
mov ecx, dword [0x140215fe0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1401913a0], ecx
jg 0x14000dae0
lea rsi, [rbx + 0x16]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
test rsi, rsi
je 0x14000da6b
mov rax, rsi
cmp word [rsi], di
je 0x14000da5e
add rax, 2
cmp word [rax], di
jne 0x14000da55
sub rax, rsi
mov rdi, rsi
sar rax, 1
mov ecx, eax
jmp 0x14000da6e
mov rcx, rdi
mov qword [rsp + 0x40], rcx
lea rdx, [0x1401670a0]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rdi
call fcn.1400053e0
mov ebx, eax
call fcn.140003280
mov rcx, qword [0x140191398]
lea rdx, [rsi + 4]
test ebx, ebx
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov r10, qword [rax + 0x510]
cmovs rdx, rsi
call r10
mov r9d, dword [rsp + 0x20]
test r9, r9
je 0x14000dad6
mov r8, qword [rsp + 0x28]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp + 8]
call fcn.140009b80
jmp 0x14000d9c8
mov eax, 1
jmp 0x14000d9ca
lea rcx, [0x1401913a0]
call fcn.1400d2798
cmp dword [0x1401913a0], 0xffffffff
jne 0x14000da3b
lea rcx, [0x1401913a0]
mov qword [0x140191398], rdi
call fcn.1400d272c
jmp 0x14000da3b