Function at 0x424c60
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.00408560
nop
xor rax, rax
mov byte [rbp + 0x2f], al
mov rcx, qword [rbp + 0x68]
call fcn.004091e0
mov rcx, qword [0x00432d50]
mov rdx, rax
mov r8d, 0xa
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 0x424f06
mov rcx, qword [0x00432d50]
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 0x424f06
lea rcx, [0x00424f4c]
call fcn.00424280
call fcn.00424180
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 [0x00432d50]
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
mov rcx, qword [rcx + 0x48]
call fcn.00404d30
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
mov qword [rcx + 0x40], 0
jmp 0x424e9e
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x20]
mov rax, qword [rbp + 0x20]
lea rdx, [rax + 0x30]
mov r8d, 0x10
call fcn.004050f0
mov rax, qword [rbp + 0x20]
lea rbx, [rax + 0x30]
mov rax, qword [0x0042d1f8]
mov eax, dword [rax + 0xac]
sub dword [rbx + 8], eax
mov rax, qword [0x0042d1f8]
mov eax, dword [rax + 0xa8]
sub dword [rbx], eax
mov esi, 0x14
mov eax, dword [rbx + 0xc]
mov ecx, dword [rbx + 8]
mov dword [rbx + 0xc], ecx
mov ecx, dword [rbx + 4]
mov dword [rbx + 8], ecx
mov ecx, dword [rbx]
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov eax, dword [rbx + 0xc]
add eax, eax
add eax, 1
mov ecx, dword [rbx + 0xc]
imul ecx, eax
mov edx, 5
call fcn.00423fc0
mov r13d, eax
mov eax, dword [rbx + 4]
add eax, eax
add eax, 1
mov ecx, dword [rbx + 4]
imul ecx, eax
mov edx, 5
call fcn.00423fc0
mov edi, eax
mov rax, qword [0x0042d1f8]
mov ecx, esi
add ecx, ecx
movsxd rcx, ecx
mov edx, dword [rbx + 8]
sub edx, dword [rax + rcx*4 + 4]
mov ecx, edx
mov edx, edi
call fcn.00423fe0
xor eax, r13d
mov dword [rbx + 8], eax
mov rax, qword [0x0042d1f8]
mov ecx, esi
add ecx, ecx
movsxd rcx, ecx
mov edx, dword [rbx]
sub edx, dword [rax + rcx*4]
mov ecx, edx
mov edx, r13d
call fcn.00423fe0
xor eax, edi
mov dword [rbx], eax
sub esi, 1
test esi, esi
jne 0x424da1
nop
lea rax, [rbx + 0xc]
mov rcx, qword [0x0042d1f8]
mov ecx, dword [rcx + 4]
sub dword [rax], ecx
lea rax, [rbx + 4]
mov rcx, qword [0x0042d1f8]
mov ecx, dword [rcx]
sub dword [rax], ecx
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 0x30]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 0x28]
mov r8d, 0x10
call fcn.004050f0
mov rax, qword [rbp + 0x20]
lea rax, [rax + 0x40]
add qword [rax], 0x10
mov rax, qword [rbp + 0x20]
lea rax, [rax + 0x20]
add qword [rax], 0x10
mov rax, qword [rbp + 0x20]
lea rax, [rax + 0x28]
add qword [rax], 0x10
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx + 0x48]
sub rax, qword [rcx + 0x40]
cmp rax, 0x10
jge 0x424d58
call fcn.004242d0
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx + 0x60]
add rax, qword [rcx + 0x48]
sub rax, 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
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_FreeResource
nop
lea rcx, [rbp + 0x68]
call fcn.004083d0
movzx rax, byte [rbp + 0x2f]
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret