Function at 0x408e50
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 [0x00446248]
call fcn.00418430
nop
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x408ed2
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x40]
call qword [rax + 8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x00446250]
call fcn.004045e0
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
xor r12d, r12d
lea r13, [0x004366a8]
lea r14, [0x00436678]
test rax, rax
jne 0x409222
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 [0x004366b0]
nop
lea rax, [0x004366e8]
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 [0x004366f0]
cmp ebx, ebx
jge 0x408f62
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.00421230
mov r8, rdi
mov rcx, rbx
add rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.00421230
nop
lea rax, [0x00436768]
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 0x408fc6
nop
nop
nop
movzx edx, byte [r8 + r10]
mov al, 0x2f
lea rcx, [0x004369a0]
nop
cmp al, dl
je 0x408fcc
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x408fb0
dec r9d
dec r8
jns 0x408fa0
mov r9d, 0xffffffff
lea ebx, [r9 + 1]
lea eax, [rbx + 1]
mov edx, dword [rsp + 0x38]
cmp eax, edx
jle 0x409018
mov ecx, 8
cmp edx, ecx
cmovl edx, ecx
mov dword [rsp + 0x38], edx
cmp eax, edx
jle 0x409005
add edx, edx
mov dword [rsp + 0x38], edx
cmp eax, edx
jle 0x409005
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.00421150
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, [0x00436970]
lea rcx, [rsp + 0x80]
call fcn.00403150
mov rbx, rax
lea rcx, str.PATH
call fcn.00422860
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0xa0]
call fcn.00403150
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 0x4090af
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.00421230
mov r8, rdi
mov rcx, rbx
add rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.00421230
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 0x4090f5
call fcn.00421200
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 0x40912f
call fcn.00421200
lea r8, [rsp + 0x20]
lea rdx, [0x00436960]
lea rcx, [rsp + 0x80]
call fcn.00403150
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.00434490
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 0x409194
call fcn.00421200
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x4091fa
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 0x4091c9
call fcn.00421200
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 0x40942e
call fcn.00421200
jmp 0x40942e
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 0x40921d
call fcn.00421200
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 0x40928c
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 0x40942e
call fcn.00421200
jmp 0x40942e
lea rdx, [rsp + 0x60]
mov rcx, qword [0x00446248]
call fcn.00406bb0
nop
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x40933e
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x60]
call qword [rax + 8]
mov rcx, qword [rsp + 0x68]
call fcn.0040eba0
test eax, eax
je 0x40933e
mov dword [0x00446260], 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 0x40930d
call fcn.00421200
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 0x40942e
call fcn.00421200
jmp 0x40942e
mov edx, 0x64
xor ecx, ecx
lea r8d, [rdx - 0x5a]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
jne 0x4093ab
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 0x40937a
call fcn.00421200
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 0x40942e
call fcn.00421200
jmp 0x40942e
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 0x4093e3
mov dword [0x00446260], 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 0x409406
call fcn.00421200
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 0x40942e
call fcn.00421200
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