Function at 0x140038960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x140155040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rax, qword [rcx + 0x20]
mov rbx, rcx
test rax, rax
je 0x140038bec
mov eax, dword [rax + 4]
cmp eax, 0xfffffffb
je 0x140038bc8
nop
cmp eax, 0xfffffffc
je 0x140038b83
cmp eax, 0xfffffffd
je 0x140038b56
cmp eax, 0xfffffffe
je 0x140038a45
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x140038bec
mov rax, qword [rcx + 8]
test rax, rax
je 0x140038bde
mov rax, qword ds:[rax + 0x18]
test rax, rax
je 0x140038bde
test byte [rax], 4
jne 0x140038bde
mov eax, dword [rax + 4]
lea r9, [rbp + 7]
mov rcx, qword [rcx]
mov edx, 0x408
and dword [rbp + 7], 0xfffffffe
mov r8d, 0x100000
mov dword [rbp + 0xb], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, dword ds:[rbx + 0x14]
mov edx, dword [rbx + 0x10]
mov rcx, qword [rbx]
call fcn.140038840
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rax, qword ds:[rbx + 0x20]
mov ecx, dword [rax + 4]
mov al, 1
mov dword [rbx + 0x28], ecx
jmp 0x140038bee
xorps xmm0, xmm0
mov qword [rsp + 0x128], r14
mov r14, qword [rcx]
xor r9d, r9d
movups xmmword [rbp - 0x69], xmm0
mov rcx, r14
xor r8d, r8d
movups xmmword [rbp - 0x59], xmm0
mov edx, 0x41e
mov qword [rbp - 0x69], r14
movups xmmword [rbp - 0x49], xmm0
mov dword [rbp - 0x59], 1
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.140062640
mov rsi, qword [0x140159210]
lea r9, [rsp + 0x38]
xor edi, edi
mov qword [rbp - 0x51], rax
mov rcx, rsi
mov qword [rbp + 7], 5
mov r8d, 3
mov qword [rbp + 0xf], 0xa6
lea rdx, [rbp + 7]
mov qword [rbp + 0x17], rdi
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140038b11
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x79]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140038b11
mov rdx, qword [rbp - 0x79]
lea rax, [rbp - 0x69]
lea r9, [0x1400020c0]
mov qword [rsp + 0x20], rax
mov r8, r14
mov rcx, rsi
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rbp - 0x51]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
mov r14, qword [rsp + 0x128]
cmp eax, 1
jne 0x140038b35
call fcn.1400602c0
mov r8d, dword ds:[rbx + 0x14]
mov edx, dword [rbx + 0x10]
mov rcx, qword [rbx]
call fcn.140038840
mov rax, qword [rbx + 0x20]
mov ecx, dword [rax + 4]
mov al, 1
mov dword [rbx + 0x28], ecx
jmp 0x140038bee
mov rax, qword ds:[rcx + 8]
test rax, rax
je 0x140038bde
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140038bde
mov r8d, dword [rcx + 4]
xor r9d, r9d
mov rcx, qword [rbx]
mov edx, 0x42a
jmp 0x140038bd8
mov rcx, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x415
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
xor edi, edi
nop dword [rax]
mov rcx, qword [rbx]
xor r9d, r9d
mov r8d, edi
mov edx, 0x42a
call qword [sym.imp.USER32.dll_SendMessageW]
inc edi
cmp edi, esi
jbe 0x140038ba0
mov rax, qword [rbx + 0x20]
mov ecx, dword [rax + 4]
mov al, 1
mov dword [rbx + 0x28], ecx
jmp 0x140038bee
movsxd r9, dword [rcx + 0x14]
mov edx, 0x40d
mov r8d, dword [rcx + 0x10]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0x20]
mov ecx, dword [rax + 4]
mov al, 1
mov dword [rbx + 0x28], ecx
jmp 0x140038bee
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400c6a20
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret