Function at 0x14003f1f0
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
test byte [rcx + 8], 2
mov rdi, rcx
je 0x14003f239
mov edx, dword [rdi + 0x548]
mov ecx, 1
cmp edx, ecx
jb 0x14003f222
mov eax, ecx
cmp dword [rdi + rax*4 + 0x3c], 0x100
je 0x14003f239
inc ecx
cmp ecx, edx
jbe 0x14003f210
lea ecx, [rdx + 1]
mov dword [rdi + 0x548], ecx
mov dword [rdi + rcx*4 + 0x3c], pe_nt_image_headers64
mov byte [rdi + 0x544], cl
test byte [rdi + 8], 4
je 0x14003f279
mov edx, dword [rdi + 0x548]
mov ecx, 1
cmp edx, ecx
jb 0x14003f262
nop
mov eax, ecx
cmp dword [rdi + rax*4 + 0x3c], 0x101
je 0x14003f279
inc ecx
cmp ecx, edx
jbe 0x14003f250
lea ecx, [rdx + 1]
mov dword [rdi + 0x548], ecx
mov dword [rdi + rcx*4 + 0x3c], 0x101
mov byte [rdi + 0x545], cl
test byte [rdi + 8], 1
je 0x14003f2b1
mov ebx, 0x41
lea rsi, [rdi + 0x485]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
movsxd rcx, eax
inc ebx
lea rsi, [rsi + 1]
movzx eax, byte [rcx + rdi + 0x444]
mov byte [rsi - 1], al
cmp ebx, 0x5a
jbe 0x14003f290
mov eax, dword [rdi + 0x18]
mov ecx, 1
mov dword [rdi + 0x2c], 1
test eax, eax
je 0x14003f2fe
mov r9, qword [rdi + 0x10]
mov r10d, eax
nop dword [rax + rax]
mov r8, qword [r9]
lea r9, [r9 + 8]
add ecx, dword [r8 + 0x10]
mov dword [rdi + 0x2c], ecx
mov edx, dword [r8 + 0x14]
and edx, 1
add edx, ecx
mov dword [rdi + 0x2c], edx
mov ecx, dword [r8 + 0x14]
shr ecx, 1
and ecx, 1
add ecx, edx
mov dword [rdi + 0x2c], ecx
sub r10, 1
jne 0x14003f2d0
mov eax, ecx
imul rsi, rax, 0x40c
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14003f341
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
call fcn.140001010
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 0x20], rbx
mov ebx, dword [rdi + 0x2c]
shl rbx, 4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x14003f393
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
call fcn.140001010
lea ecx, [rsi + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x70], rbp
mov r8, rbx
mov qword [rsp + 0x78], r12
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x38], r14
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
mov qword [rdi + 0x30], rsi
call fcn.14003e8e0
mov rcx, rdi
call fcn.14003eb20
mov rcx, rdi
call fcn.14003edd0
test byte [rdi + 8], 2
je 0x14003f3df
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.14003efd0
mov esi, dword [rdi + 0x28]
xor r12d, r12d
mov ebx, r12d
cmp ebx, esi
jae 0x14003f406
mov rcx, qword [rdi + 0x30]
mov eax, ebx
add rax, rax
cmp dword [rcx + rax*8 + 8], r12d
jne 0x14003f480
inc ebx
cmp ebx, esi
jb 0x14003f3f0
mov edx, dword [rdi + 0x548]
mov ecx, 1
mov ebp, dword [rdi + 0x28]
inc edx
mov dword [rdi + 0x38], ebx
cmp edx, 2
jbe 0x14003f42b
mov eax, 2
inc ecx
rol eax, 1
cmp eax, edx
jb 0x14003f423
mov dword [rdi + 0x54c], ecx
mov r14d, 1
shl r14d, cl
mov esi, r14d
imul rsi, rbp
add rsi, rsi
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14003f4ad
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
call fcn.140001010
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r8d, [rsi - 1]
mov eax, r8d
add rax, rax
cmp dword [rcx + rax*8 + 8], r12d
je 0x14003f49e
mov esi, r8d
cmp ebx, r8d
jb 0x14003f480
jmp 0x14003f406
mov edx, ebx
mov rcx, rdi
call fcn.14003efd0
jmp 0x14003f3e8
mov r8, rsi
mov qword [rsp + 0x30], r15
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov r10d, r12d
test ebp, ebp
je 0x14003f593
mov r11d, recv
mov r9d, r10d
lea rdx, [rdi + 0x446]
imul r9d, r14d
mov r8, r11
mov esi, 0x2b
nop word [rax + rax]
mov rax, qword [rdi + 0x20]
lea r8, [r8 + 0x18]
movzx ecx, byte [rdx - 2]
lea rdx, [rdx + 6]
add rcx, r9
movzx eax, word [r8 + rax - 0x24]
mov word [rbx + rcx*2], ax
mov rax, qword [rdi + 0x20]
movzx ecx, byte [rdx - 7]
add rcx, r9
movzx eax, word [r8 + rax - 0x20]
mov word [rbx + rcx*2], ax
mov rax, qword [rdi + 0x20]
movzx ecx, byte [rdx - 6]
add rcx, r9
movzx eax, word [rax + r8 - 0x1c]
mov word [rbx + rcx*2], ax
mov rax, qword [rdi + 0x20]
movzx ecx, byte [rdx - 5]
add rcx, r9
movzx eax, word [r8 + rax - 0x18]
mov word [rbx + rcx*2], ax
mov rax, qword [rdi + 0x20]
movzx ecx, byte [rdx - 4]
add rcx, r9
movzx eax, word [rax + r8 - 0x14]
mov word [rbx + rcx*2], ax
movzx ecx, byte [rdx - 3]
mov rax, qword [rdi + 0x20]
add rcx, r9
movzx eax, word [rax + r8 - 0x10]
mov word [rbx + rcx*2], ax
sub rsi, 1
jne 0x14003f4f0
inc r10d
add r11, 0x40c
cmp r10d, ebp
jb 0x14003f4d0
mov eax, dword [rdi + 0x18]
mov r15, r12
mov qword [rdi + 0x550], rbx
test eax, eax
je 0x14003f686
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
mov r14, qword [rax + r15*8]
test byte [r14 + 0x14], 8
je 0x14003f677
mov rbx, r12
cmp dword [r14 + 0x10], ebx
jbe 0x14003f677
mov esi, dword [rdi + 8]
mov ebp, 1
mov rax, qword [r14 + 8]
mov edx, r12d
mov ecx, dword [rdi + 0x54c]
shr esi, 1
and si, 1
shl rbp, cl
cmp byte [rbx + rax], 0x2a
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x60], r12d
jne 0x14003f667
test rbx, rbx
je 0x14003f629
mov r8, qword [r14 + 8]
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x20], ebx
mov rcx, rdi
call fcn.14003f700
mov eax, dword [rsp + 0x60]
cmp rax, rbx
jb 0x14003f602
mov edx, dword [rsp + 0x68]
mov ecx, dword [rdi + 0x54c]
and edx, 0xffffff
mov rax, qword [rdi + 0x550]
shl edx, cl
lea rdx, [rax + rdx*2]
movzx eax, byte [rdi + 0x46e]
movzx ecx, word [rdx + rax*2]
mov rax, r12
test rbp, rbp
je 0x14003f667
cmp word [rdx + rax*2], si
jne 0x14003f65f
mov word [rdx + rax*2], cx
inc rax
cmp rax, rbp
jb 0x14003f655
mov eax, dword [r14 + 0x10]
inc rbx
cmp rbx, rax
jb 0x14003f5d0
mov eax, dword [rdi + 0x18]
inc r15
cmp r15, rax
jb 0x14003f5b0
mov r15, qword [rsp + 0x30]
cmp qword [rdi + 0x10], r12
je 0x14003f6d2
mov esi, r12d
test eax, eax
je 0x14003f6c4
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
mov ecx, esi
mov rbx, qword [rax + rcx*8]
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
cmp esi, dword [rdi + 0x18]
jb 0x14003f6a0
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x10], r12
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14003f6e5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x20], r12
mov r12, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov r14, qword [rsp + 0x38]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret