Function at 0x140002140
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x3c], 0
lea rax, [rsp + 0x60]
lea rcx, str.0123456789abcdef
mov rdi, rax
mov rsi, rcx
mov ecx, 0x11
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [0x140006490]
test eax, eax
jne 0x1400021c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsp + 0x50]
call qword [0x140006488]
test eax, eax
jne 0x1400021fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [0x140006498]
xor r9d, r9d
mov r8d, dword [rsp + 0x118]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x48]
call qword [0x140006470]
test eax, eax
jne 0x140002240
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [0x140006498]
mov rcx, qword [rsp + 0x48]
call qword [0x140006480]
lea rax, [rsp + 0xa0]
lea rcx, str.2fbfdd5687585edb76f5832dadbc55fa
mov rdi, rax
mov rsi, rcx
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc8]
lea rcx, str.af3e375dc952dc98699913c837e07022
mov rdi, rax
mov rsi, rcx
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x3c], 0x21
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x78]
mov edx, 2
mov rcx, qword [rsp + 0x48]
call qword [0x140006478]
test eax, eax
je 0x1400023ac
mov dword [rsp + 0x34], 0
jmp 0x1400022ce
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x34], eax
jae 0x140002391
mov eax, dword [rsp + 0x34]
movzx eax, byte [rsp + rax + 0x78]
sar eax, 4
cdqe
movzx eax, byte [rsp + rax + 0x60]
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x34]
movzx eax, byte [rsp + rax + 0x78]
and eax, 0xf
cdqe
movzx eax, byte [rsp + rax + 0x60]
mov byte [rsp + 0x31], al
cmp dword [rsp + 0x40], 0
je 0x14000234b
movsx eax, byte [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
shl ecx, 1
mov ecx, ecx
movsx ecx, byte [rsp + rcx + 0xa0]
cmp eax, ecx
je 0x14000234b
movsx eax, byte [rsp + 0x31]
mov ecx, dword [rsp + 0x34]
inc ecx
mov ecx, ecx
movsx ecx, byte [rsp + rcx + 0xa0]
cmp eax, ecx
je 0x14000234b
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x44], 0
je 0x14000238c
movsx eax, byte [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
shl ecx, 1
mov ecx, ecx
movsx ecx, byte [rsp + rcx + 0xc8]
cmp eax, ecx
je 0x14000238c
movsx eax, byte [rsp + 0x31]
mov ecx, dword [rsp + 0x34]
inc ecx
mov ecx, ecx
movsx ecx, byte [rsp + rcx + 0xc8]
cmp eax, ecx
je 0x14000238c
mov dword [rsp + 0x44], 0
jmp 0x1400022c4
cmp dword [rsp + 0x40], 0
jne 0x14000239f
cmp dword [rsp + 0x44], 0
je 0x1400023aa
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x1400023b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x48]
call qword [0x140006480]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [0x140006498]
xor eax, eax
add rsp, 0xf8
pop rdi
pop rsi
ret