Function at 0x1400307f0
Capabilities:
Copy file
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
or rsi, 0xffffffffffffffff
movzx edi, ax
mov r14, rsi
mov dword [rsp + 0x60], edi
nop
inc r14
cmp byte [rbx + r14], 0
jne 0x140030840
mov ecx, edi
call fcn.1400918b0
lea r12, [0x1400ed4d4]
mov r13, rax
mov qword [rbp - 0x80], rax
cmp edi, r14d
je 0x14003092f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edx, eax
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140030873
movzx eax, dil
movzx r8d, dl
lea r9, str.gazebo
mov edx, 1
imul cl
movzx ecx, al
movzx eax, r13b
imul cl
lea rcx, [rbp - 0x70]
mov byte [rsp + 0x20], al
call fcn.1400ac6d0
mov edx, 0x22
lea r8d, [rdx - 0x19]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rsi
mov rdi, rax
nop
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400308c0
mov dword [rbp - 0x20], ecx
lea rcx, [rbp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r9, str.peer_to_peer
movups xmm0, xmmword [rbp - 0x20]
mov dword [rbp - 8], eax
lea rax, str.bench
lea rcx, [rbp - 0x20]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov r8, rdi
movaps xmmword [rbp - 0x60], xmm1
mov qword [rsp + 0x28], rax
mov rdx, r12
mov dword [rsp + 0x20], 0x40
call fcn.14007ad50
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r15, rsi
mov qword [rsp + 0x70], rax
nop dword [rax]
inc r15
cmp byte [rbx + r15], 0
jne 0x140030940
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdx, r13
xor ecx, ecx
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rsi
mov qword [rbp - 0x78], rax
inc rdi
cmp byte [rbx + rdi], 0
jne 0x140030967
mov r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
add dil, r13b
mov byte [rsp + 0x30], dil
xor r8d, r8d
mov edx, r15d
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
call fcn.140072ad0
mov r13, rax
cmp dword [rsp + 0x60], r15d
jb 0x1400309d3
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
lea rcx, str.spinach
lea r8, str.c3ret
mov qword [rsp + 0x20], rcx
mov edx, 1
mov rcx, r12
movzx r9d, al
call fcn.1400d2b10
lea r8, str.c3ret
lea rdx, str.icebreaker
mov rcx, r12
call fcn.1400acd40
mov r12, rsi
mov qword [rbp - 0x30], rax
movzx eax, dil
mov dword [rsp + 0x78], eax
nop dword [rax + rax]
inc r12
cmp byte [r13 + r12], 0
jne 0x140030a00
imul r12d, eax
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x140030a12
imul eax, r14d
add r12d, eax
sub r12d, dword [rsp + 0x68]
sub r12d, 7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movsx rdi, ax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movsx r9, dil
xor edi, edi
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov eax, dword [rsp + 0x78]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x60]
lea r8, str.c1a2
mov dword [rsp + 0x28], eax
mov r9d, r14d
mov rdx, r13
mov ecx, r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r8d, [rdi + 6]
mov edx, 0x3b5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
lea rcx, [rbp + 0x20]
mov edx, 0x104
movzx edi, ax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx ecx, dil
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [rsp + 0x60]
mov r8, rax
mov qword [rsp + 0x78], rax
cmp edi, 2
jb 0x140030c50
mov rcx, rsi
nop
inc rcx
cmp byte [r13 + rcx], 0
jne 0x140030b10
imul ecx, dword [rbp - 0x78]
mov edx, dword [rsp + 0x70]
lea eax, [r12*4]
imul edx, r15d
sub edx, ecx
mov rcx, rsi
sub edx, eax
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140030b36
lea eax, [r8 + rdx]
lea r13, [0x1400ed4d4]
mov r8d, edi
add ecx, eax
mov rax, qword [rbp - 0x80]
mov rdx, r13
add eax, 5
add eax, ecx
mov rcx, r13
mov dword [rbp - 0x70], eax
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [rbp - 0x68], 4
mov dword [rbp - 0x6c], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [rbp - 0x58], 2
mov qword [rbp - 0x60], rax
mov rdx, rsi
inc rdx
cmp byte [rbx + rdx], 0
jne 0x140030b85
mov ecx, dword [rsp + 0x68]
mov eax, dword [rbp - 0x80]
mov dword [rbp - 0x50], 0x40
imul eax, r15d
neg ecx
add ecx, ecx
sub ecx, eax
add ecx, dword [rsp + 0x78]
lea eax, [rcx - 5]
add eax, r12d
add edx, eax
lea rax, str.landform
mov qword [rbp - 0x48], rax
lea rax, str.gladiolus
mov dword [rbp - 0x54], edx
mov qword [rbp - 0x40], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rbp + 0x20]
xor edx, edx
mov r8d, 0x140
mov rdi, rax
call fcn.1400e27d0
lea rdx, [rbp + 0x20]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, str.score
lea rdx, str.c5a0
movups xmm0, xmmword [rbp - 0x70]
movups xmm1, xmmword [rbp - 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, str.typewriter
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rbp - 0x50]
movsd xmm1, qword [rbp - 0x40]
lea rcx, [rbp - 0x20]
mov r9, rdi
mov r8d, 0x10
movaps xmmword [rbp], xmm0
movsd qword [rbp + 0x10], xmm1
mov qword [rsp + 0x20], rax
call fcn.140063ff0
mov edi, dword [rsp + 0x60]
jmp 0x140030c57
lea r13, [0x1400ed4d4]
xor ecx, ecx
mov edx, 0x306
lea r8d, [rcx + 6]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r15, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rbp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
cmp edi, r14d
jne 0x140030d4f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140030ca0
imul esi, dword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x70]
add ebx, 0xffffffec
imul ecx, dword [rsp + 0x68]
imul eax, r15d, 0xf
imul esi, r14d
add ecx, eax
mov rax, qword [rbp - 0x30]
lea eax, [rcx + rax*2]
add eax, eax
imul esi, edi
sub esi, eax
add ebx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ecx, ecx
lea r8d, [rcx + 0x12]
mov edx, 0x20c
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
cmp bl, 4
jg 0x140030d44
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, str.soap
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rbp + 0x20]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rbp + 0x20]
lea rcx, str.soap
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov rax, r13
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret