Function at 0x140001d20
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
movups xmm0, xmmword [r9]
mov rax, qword [rbp + 0x260]
movups xmm1, xmmword [r9 + 0x10]
mov r15, qword [rbp + 0x258]
mov r14, rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], r15
movaps xmmword [rbp + 0x80], xmm0
movaps xmmword [rbp + 0x90], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm1
movaps xmmword [rbp - 0x40], xmm0
movups xmmword [rbp], xmm0
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rbp]
movzx r12d, byte [rbp + 0x250]
mov ebx, eax
sub r12b, cl
mov dword [rsp + 0x4c], eax
movzx eax, r14b
mov dword [rsp + 0x78], ecx
add r12b, r15b
shl al, 2
mov r9, r14
mov rdx, r14
add r12b, al
movzx ecx, bl
mov byte [rsp + 0x43], al
movzx r8d, r12b
call fcn.140008a10
mov rsi, rax
movzx eax, r12b
movups xmm0, xmmword [rbp - 0x58]
psrldq xmm0, 8
imul r14b
or rdi, 0xffffffffffffffff
movq r13, xmm0
movzx edx, al
mov byte [rsp + 0x41], al
mov rcx, rdi
inc rcx
cmp byte [r13 + rcx], 0
jne 0x140001e02
movzx eax, r15b
imul cl
movzx ecx, al
movzx eax, bl
imul dl
mov edx, 0x14d
movzx ebx, al
sub bl, cl
xor ecx, ecx
sub bl, byte [rbp - 0x30]
lea r8d, [rcx + 0xe]
add bl, 4
add bl, r14b
mov byte [rsp + 0x40], bl
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r15, rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx r8d, ax
mov word [rsp + 0x44], ax
mov eax, dword [rbp - 0x40]
mov rdx, rdi
imul eax, r14d
mov dword [rbp - 0x5c], eax
inc rdx
cmp byte [rsi + rdx], 0
jne 0x140001e62
mov ecx, dword [rbp + 0x80]
dec edx
imul edx, r14d
add eax, edx
mov rdx, r15
imul ecx, dword [rbp + 0x250]
add ecx, 4
add eax, ecx
movzx ecx, bl
mov r9d, eax
mov dword [rsp + 0x48], eax
call fcn.140002d50
mov rcx, rdi
mov rdx, rax
mov qword [rbp - 0x80], rax
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140001ea1
mov r9d, dword [rsp + 0x48]
movzx eax, r15b
lea r8, [0x140001b00]
imul cl
movzx r15d, al
movzx eax, word [rsp + 0x44]
xor ecx, ecx
imul dl
sub r15b, al
xor eax, eax
sub r15b, byte [rsp + 0x41]
mov qword [rsp + 0x28], rax
xor edx, edx
mov byte [rsp + 0x42], r15b
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r8b, 0x40
mov rdx, r14
movzx ecx, r15b
mov r9, rax
mov qword [rbp - 0x70], rax
call fcn.140008a10
mov r15, rax
mov eax, dword [rbp + 0x250]
cmp dword [rsp + 0x48], eax
jae 0x140001f83
mov rcx, rdi
inc rcx
cmp byte [r15 + rcx], 0
jne 0x140001f11
movzx eax, byte [rbp - 0x70]
imul cl
movzx ecx, bl
sub cl, byte [rbp - 0x80]
movzx edx, al
movzx eax, r14b
imul cl
movzx ebx, al
sub bl, dl
sub bl, byte [rbp - 0x38]
sub bl, byte [rsp + 0x58]
sub bl, byte [rsp + 0x44]
sub bl, r12b
add bl, byte [rsp + 0x43]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, str.boot
mov qword [rsp + 0x28], rcx
lea rcx, [0x1400ed4d4]
lea r9, str.c2ret
mov qword [rsp + 0x20], rcx
lea r8, str.mirror
movzx edx, al
movzx ecx, bl
call fcn.1400055b0
movzx ebx, byte [rsp + 0x40]
lea rcx, str.c0ret
call fcn.140005fd0
movzx ecx, r12b
mov r12d, dword [rsp + 0x48]
mov dword [rbp - 0x60], ecx
lea ecx, [rcx*4 - 2]
movzx edx, bl
mov r14, rax
movzx eax, byte [rsp + 0x42]
add r12d, 0xffffffc0
imul ecx, dword [rsp + 0x68]
sub ecx, eax
mov dword [rbp - 0x68], edx
add ecx, edx
add ecx, dword [rbp - 0x70]
add r12d, ecx
mov dword [rsp + 0x50], r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rbp - 0x60]
mov dword [rsp + 0x70], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, str.c2a1
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
movzx r8d, byte [rsp + 0x70]
lea r9, str.medicine
mov qword [rbp - 0x18], rax
lea rax, str.camel
lea rdx, str.c2ret
movups xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp]
mov ecx, r12d
movaps xmmword [rbp], xmm0
movsd xmm1, qword [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, str.blood
movsd qword [rbp + 0x10], xmm1
mov qword [rsp + 0x28], rax
lea rax, str.c4a0
mov qword [rsp + 0x20], rax
call fcn.140006760
xor ecx, ecx
lea r8d, [rcx + 3]
mov edx, 0xfd
mov r12, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rdi
mov qword [rbp - 0x78], rax
inc rdx
cmp byte [r13 + rdx], 0
jne 0x140002073
shl dl, 2
mov rcx, rdi
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140002084
mov r13, qword [rsp + 0x68]
sub cl, dl
movzx eax, r13b
imul cl
mov rcx, rdi
movzx edx, al
mov eax, dword [rsp + 0x4c]
imul byte [rsp + 0x78]
add dl, al
nop word [rax + rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x1400020b0
movzx eax, cl
shl al, 2
add cl, al
mov rax, rdi
shl cl, 3
sub dl, cl
sub dl, byte [rsp + 0x48]
sub dl, byte [rsp + 0x60]
sub dl, byte [rsp + 0x42]
inc rax
cmp byte [r12 + rax], 0
jne 0x1400020d6
add dl, 0x18
add dl, al
add dl, byte [rbp - 0x80]
mov byte [rsp + 0x40], dl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movzx r8d, byte [rsp + 0x40]
mov rdx, qword [rbp - 0x78]
mov r9d, eax
mov cl, 4
mov dword [rsp + 0x78], eax
call fcn.140002d50
mov qword [rbp - 0x58], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx ecx, byte [rbp + 0x250]
shl cl, 4
mov r8, rax
mov qword [rsp + 0x68], rax
movzx eax, byte [rsp + 0x40]
imul byte [rbp - 0x78]
sub cl, al
sub cl, byte [rsp + 0x58]
add cl, 0x3d
add cl, byte [rsp + 0x50]
add cl, byte [rsp + 0x48]
add cl, r13b
add cl, byte [rbp - 0x58]
add cl, byte [rbp - 0x18]
add cl, byte [rsp + 0x42]
add cl, byte [rsp + 0x44]
add cl, bl
add cl, byte [rsp + 0x4c]
mov byte [rsp + 0x43], cl
mov byte [rsp + 0x20], cl
lea rcx, [rbp]
call fcn.140003aa0
movzx r9d, word [rsp + 0x44]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0xb0], xmm1
movups xmmword [rbp + 0xc0], xmm0
cmp r9b, 4
jbe 0x140002241
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x1400021a0
mov rax, qword [rbp + 0x80]
mov rcx, qword [rbp - 0x78]
mov r10d, dword [rsp + 0x48]
mov r11, qword [rsp + 0x68]
movsx rbx, byte [rsp + 0x43]
add ecx, eax
add ecx, dword [rbp - 0x20]
movzx eax, byte [rsp + 0x4c]
lea edx, [rbx + rcx*2]
movzx ecx, r9b
imul eax, dword [rbp - 0x30]
add edx, edx
imul eax, dword [rsp + 0x60]
imul ecx, dword [rsp + 0x58]
sub edx, eax
mov eax, dword [rbp - 0x80]
imul eax, dword [rsp + 0x58]
imul eax, r10d
add edx, eax
mov eax, dword [rsp + 0x50]
lea eax, [rax + rax*4]
sub edx, eax
movzx eax, byte [rsp + 0x42]
add eax, 0xfffffff3
sub edx, r13d
sub edx, r11d
add edx, eax
mov eax, dword [rsp + 0x60]
add edx, r8d
imul eax, dword [rbp + 0x250]
sub eax, ecx
lea ecx, [r11 + 0x52]
lea ecx, [rax + rcx*4]
mov rax, qword [rbp + 0xc8]
lea eax, [rax + rax*2]
add eax, eax
sub ecx, eax
sub ecx, dword [rbp - 0x68]
add ecx, r10d
call fcn.140006560
jmp 0x140002246
movzx ebx, byte [rsp + 0x43]
lea rcx, [rbp + 0xd0]
mov edx, 0x104
mov qword [rbp + 0x40], r13
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov edx, 0x2b
xor ecx, ecx
lea r8d, [rdx - 0x11]
mov qword [rbp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx r9d, byte [rsp + 0x40]
lea r8, [0x140001b00]
mov qword [rbp + 0x50], rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov edx, 0x187
mov qword [rbp + 0x58], rax
mov rax, qword [rsp + 0x60]
lea r8d, [rcx + 0x12]
mov qword [rbp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, r15
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], r13
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [rbp - 0x78]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r8, qword [rsp + 0x68]
lea r9, str.c7a0
movaps xmm0, xmmword [rbp + 0x40]
movaps xmm1, xmmword [rbp + 0x50]
mov qword [rbp + 0x78], rax
lea rax, str.c4ret
lea rdx, [rbp]
movaps xmmword [rbp], xmm0
movaps xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp + 0x10], xmm1
mov rcx, r13
mov qword [rsp + 0x20], rax
movaps xmm1, xmmword [rbp + 0x70]
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm1
call fcn.140008540
mov rcx, rdi
nop
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140002320
movzx eax, byte [rsp + 0x58]
imul cl
movzx edx, al
movzx eax, byte [rbp - 0x80]
imul byte [rsp + 0x48]
movzx ecx, al
movzx eax, byte [rsp + 0x60]
imul byte [rbp + 0x250]
movzx r10d, al
movzx eax, r13b
sub r10b, cl
add al, al
sub r10b, dl
lea ecx, [rax + r13]
mov al, 7
add cl, cl
add r10b, cl
imul byte [rbp - 0x58]
sub r10b, al
mov rax, rdi
sub r10b, byte [rsp + 0x41]
sub r10b, byte [rsp + 0x4c]
add r10b, byte [rsp + 0x78]
add r10b, byte [rsp + 0x50]
add r10b, byte [rsp + 0x42]
add r10b, byte [rsp + 0x44]
nop dword [rax + rax]
inc rax
cmp byte [r12 + rax], 0
jne 0x140002390
sub r10b, al
mov rax, rdi
cmp byte [r14 + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400023a0
lea ecx, [rax + r10]
lea rax, str.cormorant
lea r9, [0x1400ed51c]
mov qword [rsp + 0x28], rax
lea rax, str.c0ret
lea r8, str.attendant
add cl, 5
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1400055b0
mov dword [rsp + 0x50], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp - 0x58], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
lea r8d, [rcx + 0xa]
mov edx, 0x2ff
mov qword [rbp - 0x68], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
lea rcx, str.c5a5
mov r9, rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp - 0x58]
call fcn.140003fe0
movzx r11d, byte [rsp + 0x4c]
movzx r8d, byte [rsp + 0x44]
movsx r9, bl
mov byte [rsp + 0x41], al
movzx r10d, al
mov qword [rbp], r9
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x140002450
add ecx, dword [rbp - 0x18]
mov rax, rdi
add ecx, dword [rsp + 0x50]
lea edx, [rcx + rcx*4]
nop word [rax + rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x140002470
mov rcx, qword [rbp - 0x70]
imul eax, ecx
add edx, eax
mov eax, r13d
imul eax, dword [rbp + 0x68]
imul eax, dword [rsp + 0x68]
add edx, eax
mov eax, dword [rbp - 0x68]
imul eax, ecx
movsxd rcx, dword [rsp + 0x70]
add edx, eax
movsx rax, cl
lea ebx, [rdx + r9*2]
sub ebx, r11d
sub ebx, dword [rbp - 0x60]
sub ebx, dword [rsp + 0x60]
sub ebx, r13d
sub ebx, dword [rsp + 0x78]
sub ebx, r10d
sub ebx, dword [rbp + 0x250]
add ebx, r8d
add ebx, eax
mov rax, rdi
add ebx, dword [rbp - 0x58]
nop dword [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x1400024d0
sub ebx, eax
lea rcx, str.soup
sub ebx, 0x13
mov edx, ebx
call fcn.140007390
mov rax, rdi
nop
cmp byte [r12 + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400024f0
mov r10, qword [rsp + 0x68]
mov ecx, dword [rbp + 0xa0]
movzx r9d, byte [rsp + 0x41]
imul ecx, r10d
movzx r8d, word [rsp + 0x44]
movzx esi, byte [rsp + 0x40]
lea edx, [rax + rax*4]
mov eax, ebx
imul eax, r9d
sub eax, ecx
lea ecx, [rax*4 + 0x24]
mov eax, dword [rsp + 0x48]
inc eax
imul eax, dword [rbp - 0x70]
sub ecx, eax
mov eax, dword [rbp + 0x90]
imul eax, r13d
sub ecx, eax
mov eax, dword [rsp + 0x60]
imul eax, dword [rbp + 0x250]
sub ecx, eax
movzx eax, r8b
mov r8d, dword [rsp + 0x4c]
imul eax, dword [rsp + 0x58]
sub ecx, eax
movzx eax, r8b
sub ecx, edx
sub ecx, eax
mov rax, qword [rsp + 0x78]
sub ecx, dword [rbp]
sub ecx, dword [rbp - 0x68]
sub ecx, dword [rbp - 0x78]
add eax, ecx
add esi, eax
mov rax, rdi
add esi, r10d
inc rax
cmp byte [r15 + rax], 0
jne 0x140002583
sub esi, eax
mov rax, rdi
inc rax
cmp byte [r14 + rax], 0
jne 0x140002592
sub esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsp + 0x48]
movsxd r12, eax
mov qword [rbp - 0x40], r13
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x38], rax
lea rax, str.c9a3
lea r9, str.cart
movups xmm0, xmmword [rbp - 0x40]
mov qword [rbp - 0x30], rax
lea rax, [rbp]
lea rdx, str.blood
movaps xmmword [rbp], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rbp + 0x10], xmm1
mov qword [rsp + 0x30], rax
lea rax, str.c10a5
movzx r8d, r12b
mov qword [rsp + 0x28], rax
lea rax, str.c11a4
mov ecx, esi
mov qword [rsp + 0x20], rax
call fcn.140006760
movzx eax, byte [rsp + 0x41]
cmp al, byte [rsp + 0x50]
jbe 0x1400026a0
mov r8, rdi
inc r8
cmp byte [r15 + r8], 0
jne 0x140002622
mov rax, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x80]
lea eax, [rax + rax*4]
imul ecx, esi, 0xfffffff0
sub ecx, eax
movsx rax, r12b
add ecx, eax
mov rax, qword [rbp + 0xc8]
sub ecx, dword [rbp + 0x90]
dec eax
imul eax, dword [rsp + 0x68]
lea edx, [rax + rcx*4]
movsxd rcx, dword [rsp + 0x70]
movsx rax, cl
sub edx, eax
sub edx, dword [rsp + 0x58]
add edx, dword [rsp + 0x60]
add edx, r13d
add edx, ebx
add edx, dword [rbp - 0x5c]
add edx, dword [rbp + 0x250]
sub edx, r8d
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], 0
jne 0x140002680
sub edx, edi
lea rcx, str.bonsai
sub edx, 0x38
call fcn.140007390
mov rax, rsi
jmp 0x1400026a4
mov rax, qword [rbp - 0x80]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x330]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret