Function at 0x409a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
sub rsp, 0xf8
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov qword [rax - 8], rsi
mov qword [rax - 0x10], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r14
mov rbp, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
or eax, 0x8001
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x0044a268]
call fcn.00418cd0
nop
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x409aa2
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x40]
call qword [rax + 8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x0044a270]
call fcn.00405430
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
xor r12d, r12d
lea r13, [0x004395c8]
lea r14, [0x004395a0]
test rax, rax
jne 0x409df2
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x38], r12d
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [0x004395d0]
nop
lea rax, [0x00439608]
mov qword [rsp + 0x20], rax
movsxd rdi, dword [rbp + 0x10]
mov rsi, qword [rbp + 8]
movsxd rbx, dword [rsp + 0x30]
lea edx, [rbx + rdi]
lea rcx, [rsp + 0x20]
call qword [0x00439610]
cmp ebx, ebx
jge 0x409b32
mov r8, qword [rsp + 0x28]
lea rdx, [rbx + r8]
lea rcx, [rbx + rdi]
add rcx, r8
mov eax, ebx
sub eax, ebx
movsxd r8, eax
call fcn.004230d0
mov r8, rdi
mov rcx, rbx
add rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.004230d0
nop
lea rax, [0x00439658]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x30]
lea r9d, [rax - 1]
movsxd r8, r9d
mov r10, qword [rsp + 0x28]
test r9d, r9d
js 0x409b96
nop
nop
nop
movzx edx, byte [r8 + r10]
mov al, 0x2f
lea rcx, [0x004399c0]
nop
cmp al, dl
je 0x409b9c
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x409b80
dec r9d
dec r8
jns 0x409b70
mov r9d, 0xffffffff
lea ebx, [r9 + 1]
lea eax, [rbx + 1]
mov edx, dword [rsp + 0x38]
cmp eax, edx
jle 0x409be8
mov ecx, 8
cmp edx, ecx
cmovl edx, ecx
mov dword [rsp + 0x38], edx
cmp eax, edx
jle 0x409bd5
add edx, edx
mov dword [rsp + 0x38], edx
cmp eax, edx
jle 0x409bd5
lea edx, [rax + 0xb]
mov eax, edx
and eax, 7
sub edx, eax
mov dword [rsp + 0x38], edx
movsxd rdx, edx
mov rcx, r10
call fcn.00423410
mov r10, rax
mov qword [rsp + 0x28], rax
movsxd rax, ebx
mov byte [rax + r10], 0
mov dword [rsp + 0x30], ebx
lea r8, [rsp + 0x20]
lea rdx, [0x00439990]
lea rcx, [rsp + 0x80]
call fcn.00403fa0
mov rbx, rax
lea rcx, str.PATH
call fcn.004247b0
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0xa0]
call fcn.00403fa0
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8, qword [rsp + 0x20]
call qword [r8 + 8]
movsxd rdi, dword [rbx + 0x10]
mov rsi, qword [rbx + 8]
movsxd rbx, dword [rsp + 0x30]
lea edx, [rbx + rdi]
lea rcx, [rsp + 0x20]
mov rax, qword [rsp + 0x20]
call qword [rax + 8]
cmp ebx, ebx
jge 0x409c7f
mov r8, qword [rsp + 0x28]
lea rdx, [rbx + r8]
lea rcx, [rbx + rdi]
add rcx, r8
mov eax, ebx
sub eax, ebx
movsxd r8, eax
call fcn.004230d0
mov r8, rdi
mov rcx, rbx
add rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.004230d0
nop
mov qword [rsp + 0xa0], r13
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], r12
mov dword [rsp + 0xb0], r12d
mov dword [rsp + 0xb8], r12d
test rcx, rcx
je 0x409cc5
call fcn.004230a0
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0x80], r13
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x88], r12
mov dword [rsp + 0x90], r12d
mov dword [rsp + 0x98], r12d
test rcx, rcx
je 0x409cff
call fcn.004230a0
lea r8, [rsp + 0x20]
lea rdx, [0x00439980]
lea rcx, [rsp + 0x80]
call fcn.00403fa0
mov rbx, rax
mov r8, qword [rax]
mov edx, dword [rax + 0x10]
mov rcx, rax
call qword [r8 + 8]
mov rcx, qword [rbx + 8]
call fcn.00436b60
nop
mov qword [rsp + 0x80], r13
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x88], r12
mov dword [rsp + 0x90], r12d
mov dword [rsp + 0x98], r12d
test rcx, rcx
je 0x409d64
call fcn.004230a0
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x409dca
mov qword [rsp + 0x20], r13
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x38], r12d
test rcx, rcx
je 0x409d99
call fcn.004230a0
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x58], r12d
test rcx, rcx
je 0x409ffe
call fcn.004230a0
jmp 0x409ffe
mov qword [rsp + 0x20], r13
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x38], r12d
test rcx, rcx
je 0x409ded
call fcn.004230a0
mov qword [rsp + 0x20], r14
lea rdx, str.SplashInit
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.SplashLoadMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
lea rdx, str.SplashLoadFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rsi, rsi
jne 0x409e5c
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x58], r12d
test rcx, rcx
je 0x409ffe
call fcn.004230a0
jmp 0x409ffe
lea rdx, [rsp + 0x60]
mov rcx, qword [0x0044a268]
call fcn.00407ae0
nop
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x409f0e
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x60]
call qword [rax + 8]
mov rcx, qword [rsp + 0x68]
call fcn.0040f350
test eax, eax
je 0x409f0e
mov dword [0x0044a280], 1
call rsi
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x60]
call qword [rax + 8]
mov rcx, qword [rsp + 0x68]
call rbx
nop
mov qword [rsp + 0x60], r13
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x78], r12d
test rcx, rcx
je 0x409edd
call fcn.004230a0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x58], r12d
test rcx, rcx
je 0x409ffe
call fcn.004230a0
jmp 0x409ffe
mov edx, 0x64
xor ecx, ecx
lea r8d, [rdx - 0x5a]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
jne 0x409f7b
mov qword [rsp + 0x60], r13
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x78], r12d
test rcx, rcx
je 0x409f4a
call fcn.004230a0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x58], r12d
test rcx, rcx
je 0x409ffe
call fcn.004230a0
jmp 0x409ffe
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test ebx, ebx
je 0x409fb3
mov dword [0x0044a280], ebx
call rsi
mov edx, ebx
mov rcx, rdi
call rbp
nop
mov qword [rsp + 0x60], r13
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x78], r12d
test rcx, rcx
je 0x409fd6
call fcn.004230a0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x58], r12d
test rcx, rcx
je 0x409ffe
call fcn.004230a0
mov rbx, qword [rsp + 0x110]
mov rbp, qword [rsp + 0x118]
mov rsi, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xe0]
mov r13, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xd0]
add rsp, 0xf8
ret