Function at 0x140004210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, rdx
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov rsi, rcx
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x140004254
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x140004282
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
movsxd rbx, dword [rsi + 0x3c]
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x1400042b4
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
mov r15d, dword [rsi + rbx + 0x88]
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x1400042ea
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
mov eax, dword [rsi + r15 + 0x1c]
mov qword [rsp + 0x58], rax
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x140004322
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
mov eax, dword [rsi + r15 + 0x20]
mov qword [rsp + 0x60], rax
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x14000435a
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
mov eax, dword [rsi + r15 + 0x24]
mov qword [rsp + 0x50], rax
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x140004392
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.140006720
mov rcx, rbx
call sub.msvcrt.dll_atoi
cmp eax, dword [rsi + r15 + 0x18]
jae 0x1400045b7
add qword [rsp + 0x58], rsi
add qword [rsp + 0x60], rsi
add qword [rsp + 0x50], rsi
mov ebx, eax
jmp 0x1400043e1
inc rbx
mov eax, dword [rsi + r15 + 0x18]
cmp rbx, rax
jae 0x1400045b7
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x14000440f
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
mov rax, qword [rsp + 0x60]
mov r12d, dword [rax + rbx*4]
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x140004446
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
mov rcx, rdi
call sub.msvcrt.dll_strlen
cmp rax, 0xfffffffffffffff0
jae 0x140004641
mov r13, rax
add r12, rsi
cmp rax, 0x16
ja 0x140004480
lea eax, [r13 + r13]
mov byte [rsp + 0x20], al
lea rbp, [rsp + 0x21]
jmp 0x1400044a6
mov r14, r13
or r14, 0xf
lea rcx, [r14 + 1]
call fcn.140011290
mov rbp, rax
mov qword [rsp + 0x30], rax
add r14, 2
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r13
mov rcx, rbp
mov rdx, rdi
mov r8, r13
call sub.msvcrt.dll_memcpy
mov byte [rbp + r13], 0
mov rcx, r12
call sub.msvcrt.dll_strlen
cmp rax, 0xfffffffffffffff0
jae 0x14000464b
mov r14, rax
cmp rax, 0x16
ja 0x1400044f0
lea eax, [r14 + r14]
mov byte [rsp + 0x38], al
lea rbp, [rsp + 0x39]
jmp 0x140004518
mov r13, r14
or r13, 0xf
inc r13
mov rcx, r13
call fcn.140011290
mov rbp, rax
mov qword [rsp + 0x48], rax
or r13, 1
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r14
mov rcx, rbp
mov rdx, r12
mov r8, r14
call sub.msvcrt.dll_memcpy
mov byte [rbp + r14], 0
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x38]
call fcn.140004ca0
mov ebp, eax
test byte [rsp + 0x38], 1
jne 0x140004560
test byte [rsp + 0x20], 1
jne 0x140004571
test bpl, bpl
je 0x140004580
jmp 0x1400045e9
mov rcx, qword [rsp + 0x48]
call fcn.140011300
test byte [rsp + 0x20], 1
je 0x14000454b
mov rcx, qword [rsp + 0x30]
call fcn.140011300
test bpl, bpl
jne 0x1400045e9
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x1400043d0
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
jmp 0x1400043d0
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x1400045e5
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
xor esi, esi
jmp 0x14000462d
nop
test eax, eax
nop
mov edx, dword [0x140042004]
imul edx, dword [0x140042008]
mov edi, ebx
mov eax, dword [section..data]
imul eax, edx
cmp eax, 0x80000000
jne 0x140004619
lea rcx, str.ntx_action_thread__d
call fcn.1400013a0
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + rdi*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
add rsi, rax
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x20]
call fcn.140003750
lea rcx, [rsp + 0x38]
call fcn.140003750
mov rsi, rax
test byte [rsp + 0x20], 1
je 0x14000467e
jmp 0x140004697
mov rcx, rsi
call fcn.140013b30
mov rcx, qword [rsp + 0x48]
call fcn.140011300
test byte [rsp + 0x20], 1
je 0x14000467e
mov rcx, qword [rsp + 0x30]
call fcn.140011300
mov rcx, rsi
call fcn.140013b30
int3