Function at 0x442cb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov byte [rbp + 0x2e], r8b
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.0040a830
nop
xor rax, rax
mov byte [rbp + 0x2f], al
mov rcx, qword [rbp + 0x68]
call fcn.0040b360
mov rcx, qword [0x00453f38]
mov rdx, rax
mov r8d, 5
call sub.kernel32.dll_FindResourceW
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x20]
cmp qword [rax + 8], 0
je 0x442f7a
mov rcx, qword [0x00453f38]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
call sub.kernel32.dll_LoadResource
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x10], rax
mov rax, qword [rbp + 0x20]
cmp qword [rax + 0x10], 0
je 0x442f7a
lea rcx, [rbp + 0x40]
call fcn.00442a90
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x40]
xor r8, r8
call fcn.0040b180
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x38]
call fcn.00442c50
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 0x58]
mov rdx, qword [rbp + 0x48]
mov r8, qword [0x00442060]
call fcn.0040c9a0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_LockResource
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x18], rax
mov rcx, qword [0x00453f38]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
call sub.kernel32.dll_SizeofResource
mov eax, eax
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x48], rax
movzx rax, byte [rbp + 0x2e]
test al, al
je 0x442f30
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x48]
call fcn.004051c0
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x60], rax
mov rax, qword [rcx + 0x18]
mov qword [rcx + 0x20], rax
mov rax, qword [rcx + 0x60]
mov qword [rcx + 0x28], rax
lea rcx, [rcx + 0x30]
mov rdx, qword [0x00442060]
mov r8d, 1
mov r9d, 0x20
call fcn.0040c740
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 0x38]
mov rdx, qword [0x00442060]
mov r8d, 1
mov r9d, 0x20
call fcn.0040c740
mov rax, qword [rbp + 0x20]
mov qword [rax + 0x40], 0
jmp 0x442ecc
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x20]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 0x30]
mov r8d, 0x20
call fcn.00405590
lea rcx, [rbp + 0x30]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 0x30]
mov rax, qword [rbp + 0x20]
mov r8, qword [rax + 0x58]
call fcn.004424a0
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 0x38]
mov rdx, qword [rbp + 0x30]
mov r8, qword [0x00442060]
call fcn.0040c9a0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x38]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 0x28]
mov r8d, 0x20
call fcn.00405590
mov rax, qword [rbp + 0x20]
lea rax, [rax + 0x40]
add qword [rax], 0x20
mov rax, qword [rbp + 0x20]
add qword [rax + 0x20], 0x20
add qword [rax + 0x28], 0x20
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx + 0x48]
mov rcx, qword [rcx + 0x40]
neg rcx
lea rax, [rax + rcx]
cmp rax, 0x20
jge 0x442e49
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x48]
lea rax, [rax + rcx - 1]
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x20], rax
mov rax, qword [rcx + 0x20]
movzx rax, byte [rax]
mov rcx, qword [rbp + 0x20]
mov byte [rcx + 0x50], al
mov al, 1
mov byte [rbp + 0x2f], al
mov rcx, qword [rbp + 0x20]
movzx rax, byte [rcx + 0x50]
mov ecx, dword [rcx + 0x48]
sub ecx, eax
sub ecx, 1
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x68], ecx
jmp 0x442f6d
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x48]
call fcn.004051c0
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x60], rax
mov rcx, qword [rcx + 0x18]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x20]
mov r8, qword [rax + 0x48]
call fcn.00405590
mov al, 1
mov byte [rbp + 0x2f], al
mov rcx, qword [rbp + 0x20]
mov eax, dword [rcx + 0x48]
mov dword [rcx + 0x68], eax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_FreeResource
nop
lea rcx, [rbp + 0x30]
mov rdx, qword [0x00442060]
call fcn.0040c920
lea rcx, [rbp + 0x38]
call fcn.0040a6f0
lea rcx, [rbp + 0x40]
call fcn.0040a6a0
lea rcx, [rbp + 0x48]
mov rdx, qword [0x00442060]
call fcn.0040c920
lea rcx, [rbp + 0x68]
call fcn.0040a6a0
movzx rax, byte [rbp + 0x2f]
lea rsp, [rbp + 0x50]
pop rbp
ret