Function at 0x140032e30
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140064018]
xor rax, rsp
mov qword [rbp + 0x360], rax
movaps xmm0, xmmword [0x14005ea30]
lea rcx, [rbp - 0x5f]
movaps xmm1, xmmword [0x14005ea40]
mov rsi, rdx
movzx eax, byte [0x14005ea70]
xor r12d, r12d
movaps xmmword [rsp + 0x60], xmm0
xor edx, edx
movaps xmm0, xmmword [0x14005ea50]
mov r8d, 0x1b3
movaps xmmword [rsp + 0x70], xmm1
mov r13d, r12d
movaps xmm1, xmmword [0x14005ea60]
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x60], al
call fcn.1400376d0
lea rcx, [0x14005ea80]
mov r8d, 0x11b
movups xmm0, xmmword [rcx]
lea rdx, [rbp + 0x160]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
mov rax, qword [rcx + 0x50]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rcx]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x10], xmm0
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm1
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm1
movups xmm1, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm1
mov qword [rdx + 0x50], rax
movzx eax, byte [rcx + 0x58]
lea rcx, [rbp + 0x239]
mov byte [rdx + 0x58], al
xor edx, edx
call fcn.1400376d0
call fcn.140038b98
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x60]
call fcn.14002a0e0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], r12
lea rcx, [rbp + 0x160]
call fcn.14002a0e0
mov r14, qword [rsp + 0x58]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
nop dword [rax + rax]
cmp byte [r14 + rbx + 1], r12b
lea rbx, [rbx + 1]
jne 0x140032fa0
mov edx, 1
lea rcx, [rbx - 4]
call fcn.14003853c
test rax, rax
je 0x140032fd2
lea r9, [rbx - 5]
mov rcx, rax
lea r8, [r14 + 1]
lea rdx, [rbx - 4]
call fcn.140038544
mov rcx, r14
call fcn.140038520
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x60]
call fcn.14002a0e0
mov r14, qword [rsp + 0x58]
mov rbx, rdi
nop word [rax + rax]
cmp byte [r14 + rbx + 1], r12b
lea rbx, [rbx + 1]
jne 0x140033000
mov edx, 1
lea rcx, [rbx + 1]
call fcn.14003853c
mov r8, r14
lea rdx, [rbx + 1]
mov rcx, rax
mov r15, rax
call fcn.1400386f0
mov rcx, qword [rsp + 0x40]
call fcn.140038520
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], r12
lea rcx, [rbp + 0x160]
call fcn.14002a0e0
mov r14, qword [rsp + 0x40]
mov rbx, rdi
cmp byte [r14 + rbx + 1], r12b
lea rbx, [rbx + 1]
jne 0x140033053
mov edx, 1
lea rcx, [rbx + 1]
call fcn.14003853c
mov r8, r14
mov qword [rsp + 0x50], rax
lea rdx, [rbx + 1]
mov rcx, rax
call fcn.1400386f0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], r12
call fcn.14002b2e0
mov r12, qword [rsp + 0x40]
mov rbx, rdi
inc rbx
cmp byte [r12 + rbx], r13b
jne 0x140033097
add rbx, 7
mov edx, 1
mov rcx, rbx
call fcn.14003853c
mov r14, rax
test rax, rax
je 0x1400330eb
lea r8, [0x14005e050]
mov rdx, rbx
mov rcx, rax
call fcn.140038690
mov r8, r12
mov rdx, rbx
mov rcx, r14
call fcn.1400386f0
lea r8, [0x14005e364]
mov rdx, rbx
mov rcx, r14
call fcn.1400386f0
test rsi, rsi
je 0x1400331b3
test r15, r15
je 0x1400331b3
mov rax, rdi
inc rax
cmp byte [rsi + rax], r13b
jne 0x140033100
mov rcx, rdi
nop dword [rax]
cmp byte [r15 + rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x140033110
lea rbx, [rcx + 1]
mov edx, 1
add rbx, rax
mov rcx, rbx
call fcn.14003853c
mov r12, rax
test rax, rax
je 0x1400331b6
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400386f0
mov r8, r15
mov rdx, rbx
mov rcx, r12
call fcn.1400386f0
mov rcx, rdi
nop word [rax + rax]
cmp byte [rsi + rcx + 1], r13b
lea rcx, [rcx + 1]
jne 0x140033160
nop dword [rax + rax]
inc rdi
cmp byte [r14 + rdi], r13b
jne 0x140033170
lea rbx, [rcx + 1]
mov edx, 1
add rbx, rdi
mov rcx, rbx
call fcn.14003853c
mov r13, rax
test rax, rax
je 0x1400331b6
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400386f0
mov r8, r14
mov rdx, rbx
mov rcx, r13
call fcn.1400386f0
jmp 0x1400331b6
mov r12, r13
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], 0
lea rcx, [0x14005eb60]
call fcn.14002a0e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x14003328b
mov r8, qword [rsp + 0x48]
mov edx, 0x66
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x14003328b
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14003328b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140033291
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, r12
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, edi
mov rdx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140033291
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x48]
lea rcx, [0x14005eb90]
call fcn.14002a0e0
mov rdx, qword [rsp + 0x48]
mov rcx, r12
call fcn.140030560
test r13, r13
jne 0x1400332bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400332f2
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, qword [rsp + 0x50]
mov r8, r15
mov rdx, r12
mov rcx, r13
call fcn.140031e60
mov rcx, r15
call fcn.140038520
mov rcx, r14
call fcn.140038520
mov rcx, r12
call fcn.140038520
mov rcx, r13
call fcn.140038520
mov rcx, qword [rsp + 0x50]
call fcn.140038520
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.140036180
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret