Function at 0x1400d2e10
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x248
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x230], rax
movsx rax, r9b
mov r15, r8
mov r14, rdx
mov rdi, rax
mov byte [rsp + 0x30], al
mov qword [rsp + 0x58], rax
xor eax, eax
mov rsi, rcx
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
mov qword [rsp + 0x50], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
or rbp, 0xffffffffffffffff
mov r13, rax
mov qword [rsp + 0x70], rax
mov rcx, rbp
nop dword [rax + rax]
inc rcx
cmp byte [r15 + rcx], 0
jne 0x1400d2e90
mov rax, rbp
nop dword [rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x1400d2ea0
imul ecx, eax
mov rax, rbp
inc rax
cmp byte [rsi + rax], 0
jne 0x1400d2eb0
imul ecx, eax
add ebx, 0xfffffffe
mov rax, rbp
add ecx, edi
add ebx, ecx
mov dword [rsp + 0x34], ebx
nop word [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x1400d2ed0
mov rcx, rbp
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1400d2ee0
imul eax, ecx
add edi, 0xfffffffc
mov ecx, 0xffff
add eax, edi
mov dword [rsp + 0x9c], eax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx eax, r13b
shl al, 2
lea edi, [rax + r13]
sub dil, bl
add dil, 0x40
movsx eax, dil
mov dword [rsp + 0x44], eax
cmp ebx, eax
jle 0x1400d2f33
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rbx, rbp
mov r12d, eax
mov dword [rsp + 0x38], eax
inc rbx
cmp byte [r15 + rbx], 0
jne 0x1400d2f43
mov rax, rbp
inc rax
cmp byte [r14 + rax], 0
jne 0x1400d2f50
imul ebx, eax
mov rax, rbp
sub ebx, r13d
inc rax
cmp byte [rsi + rax], 0
jne 0x1400d2f63
add ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 0x55
lea r8d, [rdx - 0x4b]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x2aa
lea r8d, [rcx + 0x10]
mov qword [rsp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea eax, [r12 + 6]
add eax, ebx
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0xe0], rax
mov rax, rbp
nop word [rax + rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x1400d2fc0
mov r8, qword [rsp + 0x50]
mov ecx, r8d
sub ecx, dword [rsp + 0x90]
sub ecx, eax
mov rax, rbp
nop
inc rax
cmp byte [rsi + rax], 0
jne 0x1400d2fe0
add eax, 8
mov r12, rbp
add eax, ecx
mov dword [rsp + 0x40], eax
inc r12
cmp byte [rsi + r12], 0
jne 0x1400d2ff5
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0x34]
mov edx, 0x2ee
sub eax, dword [rsp + 0x58]
add ecx, 0xfffffff9
sub eax, r8d
add eax, r13d
add eax, dword [rsp + 0x38]
add eax, ecx
xor ecx, ecx
lea r8d, [rcx + 0xd]
add r12d, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x1a3
lea r8d, [rcx + 1]
mov rbx, rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xf0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xf0]
lea rcx, str.jute
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0xea
lea r8d, [rcx + 0x1a]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rbp
mov rdx, rax
mov qword [rsp + 0x60], rax
inc rcx
cmp byte [r14 + rcx], 0
jne 0x1400d3096
mov rax, rbp
inc rax
cmp byte [rsi + rax], 0
jne 0x1400d30a3
imul cl
movzx r13d, al
movzx eax, bl
imul r12b
add r13b, al
movzx eax, byte [rsp + 0x34]
imul byte [rsp + 0x9c]
add r13b, al
mov rax, rbp
sub r13b, byte [rsp + 0x30]
inc rax
cmp byte [r15 + rax], 0
jne 0x1400d30d2
mov rbx, qword [rsp + 0x70]
add r13b, al
add r13b, dl
add r13b, bl
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rbp
mov r8, rax
mov qword [rsp + 0x78], rax
lea rax, str.cattle
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400d3102
imul ecx, dword [rsp + 0x68]
movsx rax, dil
lea edx, [rbx + rbx*4]
add edx, eax
mov eax, dword [rsp + 0x3c]
shl edx, 2
imul eax, dword [rsp + 0x60]
sub edx, eax
lea eax, [r8 + r8*2]
add eax, eax
sub edx, ecx
mov rcx, rbp
sub edx, eax
mov rax, qword [rsp + 0x50]
lea eax, [rax + rax*2]
sub edx, eax
nop
inc rcx
cmp byte [r14 + rcx], 0
jne 0x1400d3140
mov rax, rbp
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x1400d3150
mov edi, dword [rsp + 0x38]
imul ecx, eax
add edx, ecx
xor ecx, ecx
sub edx, edi
lea r8d, [rcx + 0xd]
sub edx, dword [rsp + 0x34]
mov dword [rsp + 0x48], edx
mov edx, 0xa8
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, edi
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, dword [rsp + 0x40]
lea rcx, [0x1400ed4fc]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.c0ret
mov r9d, ebx
mov rcx, rax
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
lea rcx, [rsp + 0xf0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xf0]
lea rcx, str.saviour
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rcx, rbp
mov rdx, rax
inc rcx
cmp byte [r15 + rcx], 0
jne 0x1400d31e4
imul ecx, dword [rsp + 0x58]
mov rax, qword [rsp + 0x80]
mov r8, qword [rsp + 0x50]
sub eax, ecx
mov ecx, dword [rsp + 0x44]
add eax, 2
imul ecx, dword [rsp + 0x38]
imul eax, r8d
sub eax, ecx
mov ecx, dword [rsp + 0x34]
add ecx, 0xc
lea ecx, [rax + rcx*4]
movsx rax, r13b
add ecx, eax
mov rax, rbp
sub ecx, dword [rsp + 0x68]
sub ecx, dword [rsp + 0x78]
sub ecx, dword [rsp + 0x48]
sub ecx, r12d
add ecx, dword [rsp + 0x3c]
add ecx, edx
add ecx, dword [rsp + 0x60]
add ecx, dword [rsp + 0x90]
add ecx, dword [rsp + 0x40]
add ecx, dword [rsp + 0x70]
nop
inc rax
cmp byte [r14 + rax], 0
jne 0x1400d3250
sub ecx, eax
nop dword [rax]
cmp byte [rsi + rbp + 1], 0
lea rbp, [rbp + 1]
jne 0x1400d3260
lea eax, [rcx + rbp]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x248
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret