Function at 0x140007750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400850c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, qword [rdx + 0x10]
xor edi, edi
mov rbp, rdx
test rbx, rbx
je 0x14000779a
mov rax, rbx
cmp word [rbx], di
je 0x140007790
add rax, 2
cmp word [rax], di
jne 0x140007787
sub rax, rbx
sar rax, 1
mov esi, eax
jmp 0x1400077a0
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.140004c60
test eax, eax
js 0x140007945
call fcn.140029320
lea r14, [rbx + 8]
mov rsi, rax
test r14, r14
je 0x140007a03
cmp word [r14], di
je 0x140007a03
mov r8d, 4
lea rdx, [0x14006d3a0]
mov rcx, r14
call fcn.140032e04
test eax, eax
lea rdx, [0x14006d3ac]
mov r8d, 2
cmovne r14, rbx
add r14, 8
mov rcx, r14
call fcn.140032e04
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x20a
mov ebx, eax
call fcn.140048a60
mov edx, 0x105
lea r8, [r14 + 4]
test ebx, ebx
lea rcx, [rsp + 0x50]
cmovne r8, r14
lea r9d, [rdx - 1]
call fcn.140032d08
mov edx, 0x2e
lea rcx, [rsp + 0x50]
call fcn.14002ccdc
mov rbx, rax
test rax, rax
je 0x140007898
mov word [rax], di
add rbx, 2
je 0x140007898
lea rdx, str.HTML
mov rcx, rbx
call fcn.140032f0c
test eax, eax
je 0x140007898
lea rdx, [0x14006d3c8]
mov rcx, rbx
call fcn.140032f0c
mov r8, rbx
test eax, eax
jne 0x14000789e
mov r8d, reloc.WS2_32.dll_socket
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140007a03
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140007a03
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140007a03
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x140007a03
mov rbx, qword [rbp + 0x10]
mov rdi, qword [rbp + 8]
call fcn.140005ea0
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.14002c020
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.140004c60
test eax, eax
js 0x140007918
call fcn.140007530
lea rsi, [rbx + 0x16]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x40], edi
mov r14, rax
test rsi, rsi
je 0x14000799c
mov rcx, rsi
cmp word [rsi], di
je 0x14000798f
add rcx, 2
cmp word [rcx], di
jne 0x140007986
sub rcx, rsi
mov rdi, rsi
sar rcx, 1
mov eax, ecx
jmp 0x14000799f
mov rax, rdi
lea rdx, [0x14006d398]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.140004c60
mov ebx, eax
call fcn.140005ea0
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 0x140007a03
mov r8, qword [rsp + 0x30]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp + 8]
call fcn.140005ff0
jmp 0x140007918
mov eax, 1
jmp 0x14000791a