Function at 0x1400bf9b0
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r12, r9
mov qword [rsp + 0x70], r9
mov rdi, r8
mov rbp, rdx
mov r14d, ecx
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor eax, eax
lea r8, [0x140001b00]
mov r9d, r14d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, qword [r12 + 8]
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x68], rax
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400bfa60
movzx esi, r14b
sub sil, cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [r12 + 0x38]
mov dword [rsp + 0x60], eax
mov rcx, rbx
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400bfa94
mov rdx, qword [rbp + 8]
mov rax, rbx
inc rax
cmp byte [rdx + rax], 0
jne 0x1400bfaa4
add ecx, eax
lea ebp, [r14 - 6]
add ebp, ecx
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp sil, bpl
jge 0x1400bfaea
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r9d, dword [rsp + 0x60]
xor eax, eax
movsxd rcx, ebp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r15d
movsx edx, sil
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], edx
lea rdx, str.file
mov r8, rdi
mov ecx, r13d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, 1
mov edx, 0x104
sub cl, al
movzx eax, byte [rsp + 0x68]
imul cl
lea rcx, [rsp + 0x80]
movzx ebp, al
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
movsx rdx, sil
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400bfb60
mov rcx, qword [rsp + 0x70]
lea eax, [rdx*4]
lea r8, str.typewriter
mov ecx, dword [rcx + 0x10]
sub ecx, eax
lea eax, [r15 + r15*2]
lea r9d, [rcx + rax*2]
xor ecx, ecx
movzx eax, bpl
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rdx
sub r9d, r12d
mov dword [rsp + 0x38], r13d
add r9d, r14d
mov dword [rsp + 0x30], eax
lea rdx, str.seaplane
add r9d, dword [rsp + 0x60]
mov ecx, r14d
sub r9d, ebx
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret