Function at 0x14002f5b0
Capabilities:
Check for time delay via gettickcount
Create thread
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x228]
sub rsp, 0x328
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r15, qword [rbp + 0x290]
movsxd rdi, dword [rbp + 0x298]
mov r13, r9
mov qword [rbp - 0x70], r9
mov rbx, r8
mov r14, rdx
mov qword [rbp - 0x60], r15
mov dword [rsp + 0x68], edi
mov qword [rbp - 0x68], rdx
mov qword [rsp + 0x78], rcx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, edi
mov rsi, rax
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, str.lamb
mov rcx, rsi
mov r8, rax
mov r12, rax
mov qword [rbp - 8], rax
call fcn.14005f880
mov r8, rdi
mov r9, rdi
mov rdx, rbx
xor ecx, ecx
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov edx, dword [r15 + 0x10]
or rsi, 0xffffffffffffffff
mov dword [rsp + 0x64], eax
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14002f660
mov eax, dword [rsp + 0x70]
mov r15d, edx
imul r15d, r13d
imul eax, r12d
mov r12, qword [rsp + 0x78]
sub r15d, eax
mov rax, rsi
add r15d, r12d
add r15d, edi
sub r15d, ecx
add r15d, 4
inc rax
cmp byte [rbx + rax], 0
jne 0x14002f690
sub r13d, edx
mov ecx, edi
add r13d, r12d
add r13d, dword [rbp - 0x80]
sub r13d, eax
sub r13d, 4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], rax
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x14002f6c1
sub r12d, dword [rbp - 0x80]
add r12d, dword [rsp + 0x70]
sub r12d, eax
mov dword [rbp + 4], r12d
mov dword [rbp + 0x60], r12d
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r8, qword [rsp + 0x78]
mov r9d, r14d
mov rcx, rsi
mov qword [rbp + 0x68], rax
imul r9d, r8d
mov dword [rbp + 8], r9d
nop dword [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14002f700
mov rdx, qword [rbp - 8]
movups xmm0, xmmword [rbp + 0x50]
movups xmm1, xmmword [rbp + 0x60]
mov eax, edi
imul eax, edx
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm1
lea edi, [r9 + rax*4]
mov eax, dword [rbp - 0x70]
lea r9, str.mirror
add edi, dword [rsp + 0x70]
imul eax, r14d
imul eax, r8d
sub edi, ecx
mov rcx, qword [rbp - 0x60]
mov r8d, r13d
mov dword [rbp + 0x70], edi
imul eax, dword [rcx + 0x40]
add eax, dword [rsp + 0x68]
mov ecx, dword [rbp - 0x80]
movsd xmm0, qword [rbp + 0x70]
movsd qword [rbp - 0x30], xmm0
imul ecx, edx
lea eax, [rax + rcx*4]
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rbp - 0x78], eax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, str.c0a1
mov edx, r15d
mov qword [rsp + 0x20], rax
call fcn.140078f20
mov r14, qword [rbp - 0x70]
mov ecx, r14d
mov byte [rsp + 0x60], al
mov rax, qword [rbp - 0x60]
imul ecx, edi
mov edi, dword [rsp + 0x78]
mov edx, 0x104
imul ecx, dword [rbp - 0x80]
imul ecx, dword [rsp + 0x70]
imul ecx, r15d
imul ecx, dword [rax + 0x40]
lea ecx, [rcx + rcx*2]
shl ecx, 3
sub edi, ecx
lea rcx, [rbp + 0x100]
mov dword [rsp + 0x6c], edi
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, edi
mov qword [rbp + 0x10], rax
call fcn.140080a90
lea rcx, str.faucet
mov rdx, r14
mov rdi, rax
mov qword [rbp + 0x28], rax
call fcn.14008e700
movsx r11d, byte [rsp + 0x60]
mov rcx, rsi
mov r14d, r11d
mov r9, rax
mov qword [rbp + 0x30], rax
imul r14d, dword [rbp + 0x10]
mov dword [rbp], r14d
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14002f810
imul r14d, dword [rsp + 0x6c]
mov rax, qword [rbp - 8]
mov rdx, qword [rsp + 0x70]
mov r10, qword [rbp - 0x80]
mov r8, qword [rsp + 0x78]
lea eax, [rax*4]
sub r14d, eax
mov eax, dword [rsp + 0x68]
imul r14d, edx
imul eax, r10d
sub r14d, eax
mov eax, dword [rbp - 0x78]
lea eax, [rax + rax*2]
shl eax, 3
sub r14d, eax
mov rax, qword [rbp - 0x60]
add r14d, dword [rbp - 0x70]
add r14d, r8d
add r14d, r15d
sub r14d, ecx
mov rcx, qword [rax]
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14002f870
sub r14d, eax
mov rax, rsi
nop
inc rax
cmp byte [rdi + rax], 0
jne 0x14002f880
mov rcx, qword [rbp - 0x60]
sub r14d, eax
lea eax, [r11 + r15]
add r8d, 4
imul eax, edx
mov edx, dword [rcx + 0x20]
lea ecx, [r12 + r12*2]
imul edx, r10d
sub edx, eax
mov rax, qword [rbp - 0x68]
add eax, edx
lea r12d, [rax + rcx*2]
add r12d, r8d
add r12d, r9d
mov dword [rbp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
mov edx, 0x329
lea r8d, [rcx + 0xe]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rbp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [rsp + 0x78]
mov rax, qword [rbp - 0x70]
imul ecx, r13d
movsx edx, byte [rsp + 0x60]
lea eax, [rax + rcx*2]
add ecx, eax
lea rax, str.c1a3
imul edx, dword [rsp + 0x6c]
add ecx, ecx
mov dword [rbp + 0x1c], edx
mov qword [rbp - 0x40], rax
sub ecx, edx
mov edx, 0x181
sub ecx, r12d
mov r12, qword [rbp - 8]
sub ecx, dword [rsp + 0x70]
mov qword [rbp - 0x48], r12
mov dword [rbp + 0x18], ecx
mov dword [rbp - 0x50], ecx
xor ecx, ecx
lea r8d, [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx rcx, byte [rsp + 0x60]
mov dword [rbp - 0x2c], 8
mov qword [rbp - 0x38], rax
mov eax, dword [rsp + 0x78]
sub eax, ecx
mov ecx, dword [rsp + 0x64]
sub eax, dword [rsp + 0x68]
add ecx, 0xfffffff8
sub eax, dword [rbp - 0x80]
sub eax, dword [rsp + 0x70]
add eax, r13d
add eax, r12d
add eax, ecx
mov dword [rbp - 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x28], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
movsx ecx, byte [rsp + 0x60]
mov r12, rax
mov qword [rbp - 0x10], rax
mov eax, dword [rsp + 0x64]
mov r9d, r13d
mov r8, rdi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbp - 0x78]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
lea rdx, str.mirror
mov dword [rsp + 0x20], ecx
mov ecx, r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, [rbp + 0x80]
mov r9, r12
movups xmm0, xmmword [rbp - 0x50]
movups xmm1, xmmword [rbp - 0x40]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x28], rax
movaps xmmword [rbp + 0x80], xmm0
movaps xmmword [rbp + 0x90], xmm1
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0xa0], xmm0
call fcn.140082230
movzx ecx, al
cmp dword [rsp + 0x6c], ecx
jle 0x14002fa2a
call fcn.1400854d0
mov rcx, qword [rsp + 0x70]
call fcn.140098530
call fcn.14006a070
mov r12, rax
cmp dword [rbp - 0x78], r14d
jl 0x14002fddb
movzx eax, byte [rbp - 0x68]
imul byte [rsp + 0x68]
movzx ecx, al
movzx eax, byte [rsp + 0x78]
imul cl
movzx edx, al
movzx eax, byte [rbp + 0x10]
imul byte [rbp - 0x70]
sub dl, al
movzx eax, byte [rbp - 0x10]
imul byte [rbp + 0x38]
movzx ecx, al
shl cl, 2
add al, cl
sub dl, al
movzx eax, byte [rbp - 0x80]
imul byte [rsp + 0x70]
sub dl, al
movzx eax, byte [rbp - 0x50]
shl al, 2
add dl, al
sub dl, r15b
sub dl, r13b
sub dl, r14b
sub dl, byte [rbp + 0x30]
sub dl, byte [rsp + 0x60]
sub dl, 6
add dl, byte [rsp + 0x6c]
add dl, byte [rbp + 0xe0]
mov byte [rsp + 0x61], dl
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov r13, qword [rbp - 8]
movzx eax, ax
mov edx, 0xd
xor ecx, ecx
mov dword [rsp + 0x68], eax
mov dword [rbp - 0x50], eax
lea rax, str.c5a4
lea r8d, [rdx + 7]
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x48], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rsi
mov qword [rbp - 0x30], rax
nop
inc rdx
cmp byte [rdi + rdx], 0
jne 0x14002fae0
mov rax, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x70]
imul eax, dword [rsp + 0x78]
imul eax, dword [rbp - 0x80]
imul eax, dword [rsp + 0x64]
lea r8d, [rax + rax*2]
mov eax, dword [rbp + 0x18]
shl r8d, 3
lea eax, [rax*4 + 1]
imul eax, edi
sub r8d, eax
mov rax, qword [rbp - 0x10]
add eax, 3
lea ecx, [rax + rax*4]
mov rax, rsi
add r8d, ecx
sub r8d, dword [rbp + 0x68]
add r8d, dword [rbp + 0x1c]
sub r8d, edx
inc rax
cmp byte [r12 + rax], 0
jne 0x14002fb32
movups xmm0, xmmword [rbp - 0x50]
movups xmm1, xmmword [rbp - 0x40]
movzx r15d, byte [rsp + 0x61]
sub r8d, eax
lea rax, [0x1400ed4fc]
mov qword [rbp - 0x20], r13
mov qword [rsp + 0x30], rax
mov dword [rbp - 0x28], r8d
lea rax, [rbp + 0x80]
movaps xmmword [rbp + 0x80], xmm0
movaps xmmword [rbp + 0x90], xmm1
movups xmm0, xmmword [rbp - 0x30]
movsd xmm1, qword [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea r9, str.c5a1
lea rdx, str.fisherman
movaps xmmword [rbp + 0xa0], xmm0
movsd qword [rbp + 0xb0], xmm1
lea rcx, [rbp - 0x50]
movzx r8d, r15b
mov qword [rsp + 0x20], r13
call fcn.14007ec10
mov ecx, dword [rsp + 0x64]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x38], xmm1
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, rsi
movups xmm0, xmmword [rbp + 0x38]
mov r9d, eax
psrldq xmm0, 8
movq rdx, xmm0
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x14002fbf0
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp + 0x30]
imul ecx, r13d
add eax, eax
sub edx, eax
mov rax, rsi
add edx, edx
sub edx, ecx
cmp byte [rbx + rax + 1], 0
lea rax, [rax + 1]
jne 0x14002fc10
lea r8d, [rax + 1]
mov eax, dword [rbp]
imul r8d, edi
add r8d, 0xfffffffa
imul eax, dword [rbp - 0x78]
imul eax, dword [rbp + 4]
lea r8d, [r8 + rdx*2]
add r8d, eax
mov rax, rsi
nop dword [rax]
cmp byte [r12 + rax + 1], 0
lea rax, [rax + 1]
jne 0x14002fc40
lea eax, [rax + rax*4]
mov rdi, rsi
sub r8d, eax
mov rax, qword [rbp + 0x28]
sub r8d, r13d
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14002fc60
mov rax, qword [rsp + 0x78]
lea rdx, str.c5a4
lea rcx, str.c0a1
add eax, r8d
lea r8, str.c0a1
add edi, eax
lea rax, str.bonsai
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], r9b
mov r9, qword [rbp - 0x68]
call fcn.14006fac0
xor ecx, ecx
mov edx, 0x1b4
lea r8d, [rcx + 0x16]
mov qword [rbp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r14d
mov r14, qword [rbp - 0x68]
xor r9d, r9d
mov r8, r13
mov rdx, r14
mov rcx, r14
mov qword [rbp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, rsi
mov dword [rbp - 0x50], eax
lea rax, str.c8ret
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax + 0x38]
nop dword [rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14002fd00
mov r8, qword [rbp - 0x70]
imul edx, dword [rbp - 0x80]
movzx eax, r15b
add eax, dword [rbp + 0x80]
mov ecx, r8d
imul edx, r13d
shl eax, 2
imul ecx, dword [rbp + 0x10]
sub ecx, eax
mov eax, dword [rsp + 0x68]
sub ecx, edx
imul eax, r13d
add ecx, eax
mov eax, dword [rsp + 0x6c]
imul eax, dword [rsp + 0x70]
add ecx, eax
movsx rax, byte [rsp + 0x60]
sub ecx, r8d
sub ecx, dword [rbp + 0x28]
sub ecx, edi
mov rdi, qword [rbp - 0x10]
sub ecx, dword [rbp + 0x20]
add ecx, dword [rbp + 8]
add ecx, eax
mov rax, rsi
add ecx, r14d
add ecx, edi
add ecx, dword [rbp + 0x68]
inc rax
cmp byte [rbx + rax], 0
jne 0x14002fd67
sub ecx, eax
inc rsi
cmp byte [r12 + rsi], 0
jne 0x14002fd72
mov r9d, dword [rsp + 0x64]
sub ecx, esi
xor eax, eax
add ecx, 0x16
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
mov dword [rbp - 0x40], ecx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbp + 0x38]
movups xmm0, xmmword [rbp - 0x50]
mov qword [rbp - 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x30], rdi
movaps xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x40]
mov qword [rbp - 0x28], rax
lea rdx, [rbp + 0x50]
movaps xmmword [rbp + 0x60], xmm1
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x70], xmm0
call fcn.1400ccce0
xor ecx, ecx
mov edx, 0x22a
lea r8d, [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret