Function at 0x140019090
Capabilities:
Terminate process

Disassembly:
and al, 0x70
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [rsp + 0x70]
call fcn.140018f4f
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0x70]
cdqe
shl rax, 1
add rcx, rax
mov qword [rsp + 0x70], rcx
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0
je 0x140019163
mov rcx, qword [rsp + 0x70]
call fcn.140018faf
mov byte [rsp + 0x3f], al
movzx eax, byte [rsp + 0x3f]
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx]
cmp eax, ecx
je 0x140019122
movzx eax, byte [rsp + 0x3f]
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + 1]
cmp eax, ecx
je 0x140019122
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [rsp + 0x70]
call fcn.140018fef
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x58]
cmp eax, dword [rcx]
je 0x140019161
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x58]
cmp eax, dword [rcx + 4]
je 0x140019161
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x140019163
mov qword [rsp + 0x50], 0
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0x38], 4
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x78]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x84]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0xa0]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x30]
xor edx, edx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
mov dword [rsp + 0x20], 0
call rax
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140019293
jmp fcn.1400194b6
mov r10, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + 0x38]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 0x44]
mov rcx, qword [rsp + 0x88]
xor r8d, r8d
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
call r10
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x1400192e2
jmp fcn.1400194b6
jmp 0x1400192e4
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rcx + 0x78]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
lea r9, [rsp + 0x60]
call rax
xor ecx, ecx
cmp eax, 0
je 0x140019318
cmp dword [rsp + 0x60], 0
seta cl
test cl, 1
jne 0x14001931f
jmp 0x140019334
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov eax, eax
add rcx, rax
mov qword [rsp + 0x50], rcx
jmp 0x1400192e4
mov rax, qword [rsp + 0x50]
cmp rax, qword [rsp + 0x68]
jne 0x140019345
jmp fcn.1400194b6
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x38], 0x14
jge 0x14001938e
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x68]
movsxd rcx, dword [rsp + 0x38]
mov eax, dword [rax + rcx]
add eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rsp + 0x38]
mov dword [rcx + rdx], eax
mov eax, dword [rsp + 0x38]
add eax, 4
mov dword [rsp + 0x38], eax
jmp 0x140019358
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1400193b9
jmp fcn.1400194b6
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
mov r9d, dword [rcx + 0x64]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x78]
mov edx, ecx
xor ecx, ecx
mov r8d, 0x1000
call rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x98]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x40]