Function at 0x140034970
Capabilities:
Copy file
Create thread
Extract resource via kernel32 functions
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x208]
sub rsp, 0x308
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
movsxd rbx, dword [rbp + 0x270]
movzx eax, r8b
mov rsi, rcx
mov rcx, rdx
mov r12, r9
mov qword [rbp - 0x48], r9
mov byte [rsp + 0x40], al
mov edi, eax
mov r15, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, rbx
mov r8d, edi
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov r14d, eax
mov dword [rsp + 0x60], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rbp - 0x78], rax
call fcn.140081b00
mov rbx, rax
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rbp + 0xb0]
mov edx, 0x104
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
lea r8d, [rcx + 6]
mov edx, 0x2aa
mov qword [rbp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, 0xffff
mov qword [rbp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
lea rcx, [rbp + 0xb0]
xor edx, edx
mov r8d, 0x140
mov dword [rsp + 0x44], eax
call fcn.1400e27d0
lea rdx, [rbp + 0xb0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x2ea
lea r8d, [rcx + 0x16]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r13, rax
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
lea r8d, [rcx + 3]
mov edx, 0xca
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rdx, str.subsidence
lea rcx, [rbp + 0x98]
mov r8, rax
mov qword [rsp + 0x78], rax
call fcn.14008e4a0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
mov qword [rsp + 0x58], rax
call fcn.1400d6f50
mov rcx, r12
mov qword [rbp - 0x68], rax
call qword [sym.imp.KERNEL32.dll_LockResource]
lea r9, str.couch
lea rdx, [0x1400ed3f4]
xor r8d, r8d
mov ecx, eax
mov rdi, rax
mov qword [rsp + 0x68], rax
call fcn.14007d650
or rbx, 0xffffffffffffffff
cmp r14b, byte [rbp + 0x278]
mov qword [rbp - 0x80], rax
jge 0x140034bbd
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdx, r13
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov r14, rax
lea rax, [0x1400ed3f4]
lea r8, str.c4a3
lea rcx, str.c4a1
mov r9, rdi
mov qword [rsp + 0x20], rax
call fcn.1400ae870
mov rcx, rbx
mov edx, eax
mov rax, qword [rbp - 0x38]
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140034b70
mov rdi, qword [rsp + 0x68]
movzx eax, dil
imul cl
mov rcx, rbx
sub al, dl
sub al, r12b
sub al, byte [rsp + 0x78]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140034b90
add cl, 6
mov r8, r14
mov edx, 8
add cl, al
add cl, byte [rbp + 0x270]
add cl, byte [rsp + 0x48]
add cl, r13b
call fcn.1400d5400
mov r14d, dword [rsp + 0x60]
movzx edx, byte [rsp + 0x40]
movsx eax, r14b
lea ecx, [rdi + rdi]
mov dword [rsp + 0x4c], eax
mov r14, rbx
mov dword [rbp - 0x70], ecx
lea eax, [rax*4]
nop word [rax + rax]
inc r14
cmp byte [rsi + r14], 0
jne 0x140034be0
imul r14d, edx
imul eax, r12d
mov rdx, rbx
imul eax, dword [rbp - 0x2c]
add r14d, eax
sub r14d, ecx
nop
inc rdx
cmp byte [rsi + rdx], 0
jne 0x140034c00
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x140034c10
imul edx, eax
mov eax, dword [rsp + 0x58]
xor ecx, ecx
mov dword [rbp + 0x10], 0x20
imul eax, r13d
movsxd r13, dword [rsp + 0x48]
imul eax, edi
imul eax, dword [rsp + 0x44]
lea edi, [rax + rdx*4]
mov rdx, qword [rsp + 0x78]
sub edi, r13d
mov dword [rsp + 0x50], edi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, 0xffff
mov qword [rbp + 0x18], rax
lea rax, str.c0a2
mov qword [rbp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov edx, edi
movups xmm0, xmmword [rbp + 0x10]
mov dword [rbp + 0x28], eax
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x10], xmm1
call fcn.14007c360
lea r8, [0x140001b00]
mov r12, rax
xor eax, eax
mov r9, r13
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rbp - 0x80]
lea r9, [0x1400ed3f4]
mov rdx, rdi
mov r8, rax
mov qword [rbp - 0x58], rax
call fcn.1400945b0
mov rdi, qword [rsp + 0x68]
mov r13, rax
cmp edi, dword [rbp + 0x270]
jbe 0x140034cfd
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov edx, 0x11a
lea r8d, [rcx + 0xc]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r9, rax
call fcn.140090360
lea rdx, [0x1400ed3f4]
lea rcx, str.subsidence
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_CopyFileA]
movsxd rdi, eax
movzx ecx, dil
call fcn.140088750
mov rcx, qword [rbp - 0x80]
movsx r9, dil
mov qword [rbp - 0x28], r9
mov rdx, rbx
lea r8d, [rcx + rcx*4]
mov byte [rsp + 0x41], al
nop word [rax + rax]
inc rdx
cmp byte [r15 + rdx], 0
jne 0x140034d40
mov rdi, qword [rbp - 0x48]
mov eax, r12d
imul eax, ecx
mov rcx, qword [rbp - 0x78]
imul eax, dword [rsp + 0x50]
lea ecx, [rcx*4]
sub ecx, eax
mov eax, dword [rbp - 0x68]
imul eax, dword [rsp + 0x58]
sub ecx, eax
mov rax, rbx
sub ecx, r8d
sub ecx, dword [rbp - 0x58]
sub ecx, r9d
add ecx, edi
add ecx, dword [rsp + 0x70]
add ecx, dword [rsp + 0x68]
add ecx, dword [rbp + 0x270]
sub ecx, edx
nop
inc rax
cmp byte [rsi + rax], 0
jne 0x140034d90
add ecx, 0xfffffffe
lea r8, str.c4a3
add eax, ecx
lea rcx, str.interviewer
mov edx, eax
mov dword [rsp + 0x44], eax
call fcn.1400780d0
mov ecx, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x4c]
mov r9d, eax
mov dword [rbp - 0x60], eax
cmp ecx, r8d
jge 0x140034f54
mov r8, qword [rsp + 0x70]
lea rax, str.fahrenheit
mov rcx, rbx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], rax
nop word [rax + rax]
inc rcx
cmp byte [r13 + rcx], 0
jne 0x140034df0
mov r10, qword [rbp - 0x80]
imul edx, ecx, 0xb
mov ecx, r9d
imul ecx, dword [rsp + 0x44]
lea eax, [r10 + r10*4]
shl ecx, 2
imul eax, r14d
sub ecx, eax
mov eax, edi
movzx edi, byte [rsp + 0x40]
imul eax, dword [rbp + 0x270]
sub ecx, eax
mov rax, qword [rbp - 0x50]
add edx, ecx
lea eax, [rax + rax*4]
lea ecx, [rdx + rax*2]
movsx rax, byte [rsp + 0x60]
mov rdx, qword [rbp - 0x40]
sub ecx, eax
mov rax, rbx
sub ecx, edi
sub ecx, dword [rsp + 0x78]
sub ecx, dword [rbp + 0x80]
sub ecx, dword [rbp - 0x68]
sub ecx, r10d
add ecx, dword [rbp - 0x70]
add ecx, dword [rbp - 0x78]
add ecx, r8d
add ecx, r12d
add ecx, dword [rsp + 0x58]
add ecx, dword [rbp - 0x2c]
inc rax
cmp byte [rdx + rax], 0
jne 0x140034e67
sub ecx, eax
mov rax, rbx
inc rax
cmp byte [rsi + rax], 0
jne 0x140034e75
add eax, 2
mov qword [rbp - 8], r8
add eax, ecx
mov dword [rbp - 0x10], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rdx, rbx
mov qword [rbp], rax
lea rax, str.view
mov qword [rbp + 8], rax
inc rdx
cmp byte [rsi + rdx], 0
jne 0x140034ea2
mov r8d, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x44]
imul edi, edx
imul eax, dword [rsp + 0x68]
sub ecx, eax
lea eax, [r8*4]
mov edx, 0x262
imul eax, dword [rbp + 0x270]
inc eax
imul eax, dword [rbp - 0x78]
lea ecx, [rax + rcx*2]
mov eax, dword [rbp - 0x58]
imul eax, dword [rsp + 0x70]
sub ecx, eax
add edi, ecx
xor ecx, ecx
lea r8d, [rcx + 0x1b]
sub edi, r14d
add edi, r12d
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, str.c4a3
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 0x13]
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rbp]
lea r8, str.stepson
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
movaps xmmword [rbp + 0x50], xmm0
mov qword [rsp + 0x20], r12
call fcn.140086ba0
mov rdi, qword [rbp - 0x48]
mov ecx, dword [rsp + 0x50]
mov r9d, dword [rbp - 0x60]
mov r8d, dword [rsp + 0x4c]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp byte [r13 + rax], 0
jne 0x140034f60
imul r12d, ecx
mov rcx, qword [rsp + 0x78]
imul r12d, r14d
lea ecx, [rcx + rcx*4]
shl r12d, 4
sub ecx, r12d
sub ecx, eax
mov rax, rbx
nop word [rax + rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x140034f90
movzx edx, byte [rsp + 0x40]
imul edi, r8d
imul edi, dword [rbp + 0x270]
imul edi, dword [rbp + 0x278]
imul eax, edx
lea ecx, [rax + rcx*2]
mov rax, qword [rbp - 0x50]
sub eax, edi
imul eax, dword [rbp - 0x78]
add ecx, eax
mov rax, qword [rbp - 0x68]
imul eax, dword [rsp + 0x68]
add ecx, eax
movzx eax, byte [rsp + 0x41]
sub ecx, eax
mov rax, rbx
sub ecx, dword [rbp + 0x78]
sub ecx, dword [rsp + 0x70]
sub ecx, dword [rbp - 0x28]
sub ecx, dword [rsp + 0x48]
inc rax
cmp byte [rsi + rax], 0
jne 0x140034fe6
mov r10, qword [rbp - 0x80]
mov r8, qword [rbp - 0x38]
lea edx, [r10 + r10*4]
add edx, ecx
mov rcx, rbx
inc rcx
cmp byte [r8 + rcx], 0
jne 0x140035000
add eax, edx
mov rdx, qword [rbp - 0x40]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140035010
add eax, ecx
add ebx, eax
mov rax, qword [rsp + 0x58]
add ebx, r9d
add eax, 5
add ebx, dword [rbp - 0x58]
add ebx, dword [rsp + 0x44]
add ebx, r10d
add eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x308
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret