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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
mov rax, qword [0x14087b200]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, qword [rsp + 0x158]
mov rbx, r9
mov r14, qword [rsp + 0x150]
mov r12d, edx
mov dword [rsp + 0x40], edx
mov rdi, rcx
mov qword [rsp + 0x58], rbx
mov r13, r8
cmp dword [rsi], 0
lea rcx, [rsi + 0x10]
mov qword [rsp + 0x60], r14
mov edx, 4
jne 0x140171da1
xor ebp, ebp
mov eax, 2
cmp dword [r8], ebp
setne bpl
cmp dword [r9], 0
cmovne ebp, eax
cmp dword [r14], 0
mov eax, 3
cmovne ebp, eax
jmp 0x140171db4
cmp dword [rcx], 0
mov ebp, edx
je 0x140171db4
xor ebp, ebp
cmp dword [rsi + 0x20], ebp
setne bpl
add ebp, 5
mov r15d, dword [rdi + 0x24]
or r15d, dword [rdi + 0x54]
test r15b, 1
je 0x140171e98
cmp qword [rdi + 0x30], 0
jne 0x140171dd7
mov eax, 5
jmp 0x1401720b6
mov eax, dword [rdi + 0x10]
shr eax, 1
test al, 1
je 0x140171e94
movups xmm0, xmmword [r8]
mov rax, qword [rdi + 0x58]
lea r8, [rsp + 0x70]
movups xmm1, xmmword [r9]
mov r10, qword [rdi + 0x88]
lea rdx, [rsp + 0x48]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [r14]
mov qword [rsp + 0x50], rax
xor eax, eax
cmp byte [rdi + 8], 3
movaps xmmword [rsp + 0x80], xmm1
movups xmm1, xmmword [rsi]
sete al
mov r9d, ebp
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rcx]
movzx ecx, byte [rdi + 0x48]
movaps xmmword [rsp + 0xa0], xmm1
movups xmm1, xmmword [rsi + 0x20]
mov dword [rsp + 0x48], r12d
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm1
mov dword [rsp + 0x4c], r15d
mov dword [rsp + 0x20], eax
call r10
test eax, eax
je 0x140171e8f
mov qword [rsp + 0x38], rsi
mov r9d, r15d
mov qword [rsp + 0x30], r14
mov r8d, r12d
mov qword [rsp + 0x28], rbx
mov edx, eax
mov rcx, rdi
mov qword [rsp + 0x20], r13
call fcn.14017a480
jmp 0x1401720b6
mov edx, 4
and r15d, 0xfffffffe
cmp ebp, 4
lea rcx, [rdi + 0xf0]
mov r14d, 6
lea r8, [rsp + 0x48]
cmovbe r14d, edx
mov edx, r14d
add rdx, 4
shl rdx, 4
call sym.EXE_x64.exe_public:_void____ptr64___cdecl_asmjit::_abi_1_10::ZoneAllocator::_alloc_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64____ptr64
mov r12, qword [rdi + 0x60]
xor r8d, r8d
mov dword [rdi + 0x54], r8d
mov rbx, rax
mov qword [rdi + 0x60], r8
test rax, rax
jne 0x140171f03
mov qword [rdi + 0x58], r8
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x140171ef9
mov r10, qword [rcx]
lea r8, str.OutOfMemory
mov r9, rdi
lea edx, [rax + 1]
call qword [r10 + reloc.WS2_32.dll_htonl]
mov eax, 1
jmp 0x1401720b6
mov qword [rax], r8
mov qword [rax + 8], r8
mov byte [rax + 0x10], 1
movzx eax, byte [rdi + 0x198]
mov qword [rbx + 0x28], r8
or al, 0x29
mov byte [rbx + 0x11], al
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0x30], eax
xor eax, eax
mov dword [rbx + 0x34], r15d
mov dword [rbx + 0x14], r8d
mov qword [rbx + 0x18], r8
mov qword [rbx + 0x20], r8
mov qword [rbx + 0x38], rax
mov byte [rbx + 0x13], r14b
mov byte [rbx + 0x12], bpl
mov eax, dword [rdi + 0x58]
mov ecx, dword [rdi + 0x5c]
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0x58]
mov dword [rbx + 0x3c], ecx
movups xmm0, xmmword [r13]
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rax]
mov rax, qword [rsp + 0x60]
movups xmmword [rbx + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbx + 0x60], xmm0
cmp ebp, 3
jbe 0x140171f95
lea rcx, [rbx + 0x70]
lea edx, [rbp - 3]
nop dword [rax]
lea rcx, [rcx + 0x10]
movups xmm0, xmmword [rsi]
lea rsi, [rsi + 0x10]
movups xmmword [rcx - 0x10], xmm0
sub rdx, 1
jne 0x140171f80
cmp ebp, r14d
jae 0x140171fc1
mov eax, ebp
shl rax, 4
add rax, 0x48
add rax, rbx
sub r14d, ebp
mov ecx, r14d
nop dword [rax]
mov qword [rax - 8], r8
mov qword [rax], r8
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x140171fb0
test r12, r12
je 0x140172035
lea rcx, [rdi + 0xb0]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [r12 + rsi], r8b
jne 0x140171fd4
test rsi, rsi
je 0x14017202e
mov r14, qword [rcx]
lea rdx, [rsi + 1]
mov rax, qword [rcx + 8]
cmp r14, rax
jae 0x140172003
sub rax, r14
cmp rdx, rax
ja 0x140172003
lea rax, [r14 + rdx]
mov qword [rcx], rax
jmp 0x140172014
mov r8d, 1
call sym.EXE_x64.exe_public:_void____ptr64___cdecl_asmjit::_abi_1_10::Zone::_alloc_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64
mov r14, rax
xor r8d, r8d
test r14, r14
je 0x14017202e
mov r8, rsi
mov rdx, r12
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rsi], 0
jmp 0x140172031
mov r14, r8
mov qword [rbx + 0x28], r14
mov rax, qword [rdi + 0x180]
test rax, rax
jne 0x140172074
mov rax, qword [rdi + 0x188]
test rax, rax
jne 0x14017205d
mov qword [rdi + 0x190], rbx
mov qword [rdi + 0x188], rbx
jmp 0x140172094
mov qword [rbx + 8], rax
mov rax, qword [rdi + 0x188]
mov qword [rax], rbx
mov qword [rdi + 0x188], rbx
jmp 0x140172094
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov qword [rbx], rax
mov qword [rax + 8], rbx
test rcx, rcx
je 0x14017208d
mov qword [rcx], rbx
jmp 0x140172094
mov qword [rdi + 0x190], rbx
or byte [rbx + 0x11], 0x80
cmp byte [rbx + 0x10], 2
jne 0x1401720a5
mov byte [rdi + 0x199], 1
mov qword [rdi + 0x180], rbx
xor eax, eax
mov qword [rdi + 0x58], 0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1403a8760
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret