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

Disassembly:
mov r11, rsp
push rbx
push rdi
push r14
push r15
sub rsp, 0x2c8
mov rax, qword [0x1401ef0c0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r9, qword [rcx]
lea rdi, [rcx + 0x240]
mov r10, rcx
mov qword [rsp + 0x80], rcx
lea rcx, [0x140198060]
mov qword [rsp + 0xa0], rdx
xor r14d, r14d
mov qword [rsp + 0x98], rdi
movsxd rax, dword [r9 + 0xc]
mov qword [rsp + 0xb0], r9
lea r15d, [r14 + 1]
lea rbx, [rcx + rax*8]
mov ecx, dword [r10 + 0x38]
mov eax, 0x24924925
mov qword [rsp + 0x50], rbx
mul ecx
mov eax, dword [rbx]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 3
mov dword [rsp + 0x88], ecx
cmp eax, 0x159b
je 0x1401047bb
mov qword [r11 + 0x18], rbp
lea rdx, [0x140196ac0]
mov qword [r11 - 0x28], rsi
mov qword [r11 - 0x30], r12
mov r12d, 0x7fffffff
mov qword [r11 - 0x38], r13
nop
movsxd rcx, eax
mov r13d, r14d
add rcx, rdx
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x74], r14d
mov esi, r14d
mov dword [rsp + 0x64], r14d
mov ebp, r14d
mov dword [rsp + 0x58], r14d
movzx eax, byte [rcx]
test al, al
je 0x14010477c
nop
xor dil, dil
mov byte [rsp + 0x20], dil
cmp al, 0x20
jne 0x140103e28
nop dword [rax]
inc rcx
cmp byte [rcx], 0x20
je 0x140103e20
lea r9, [rsp + 0x70]
mov rdx, r10
lea r8, [rsp + 0x24]
call fcn.1401059e0
mov rcx, rax
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140104576
test byte [rbx + 4], 1
mov r15d, 0x80000000
mov dword [rsp + 0x44], r14d
cmove r15d, r12d
mov r12d, r14d
test eax, eax
je 0x140104548
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x3c], r15d
nop dword [rax + rax]
xor dil, dil
mov byte [rsp + 0x34], dil
test eax, eax
je 0x14010451e
mov rbx, qword [rsp + 0xa0]
mov r8d, 1
mov rcx, rbx
mov edx, eax
call fcn.1400f5370
mov rcx, qword [rbx + 0x78]
movsd xmm0, qword [rcx + 0xb8]
movsd qword [rsp + 0xe0], xmm0
movups xmm1, xmmword [rcx + 0x98]
movups xmm2, xmmword [rcx + 0xa8]
movups xmmword [rsp + 0xc0], xmm1
test eax, eax
jne 0x14010451a
movq rax, xmm1
shr rax, 0x10
cmp ax, 2
jle 0x14010451a
mov edx, 0xffffffff
movd eax, xmm1
mov r9d, r14d
mov dword [rsp + 0x28], edx
mov rbx, r14
mov r10d, edx
movsx r14, ax
mov r13d, edx
mov r8d, edx
test r14, r14
jle 0x1401044d2
mov r12, qword [rsp + 0xc8]
movdqa xmm0, xmm2
mov rdi, qword [rsp + 0x50]
psrldq xmm0, 8
movq r15, xmm0
lea r11d, [r8 + 1]
movsx r8d, word [r15 + rbx*2]
cmp r8d, r11d
jle 0x140103fd9
movsxd rax, r11d
lea rcx, [r12 + 4]
shl rax, 3
mov edx, r11d
add rcx, rax
test byte [rdi + 4], 3
jne 0x140103f90
nop dword [rax]
test r10d, r10d
js 0x140103f74
mov eax, dword [rcx]
cmp eax, r9d
jl 0x140103f74
cmp esi, eax
jg 0x140103f81
mov esi, eax
jmp 0x140103f81
mov r9d, dword [rcx]
mov r10d, edx
cmp ebp, r9d
cmovge ebp, r9d
inc edx
add rcx, 8
cmp edx, r8d
jle 0x140103f60
jmp 0x140103fbc
test r10d, r10d
js 0x140103fa4
mov eax, dword [rcx]
cmp eax, r9d
jg 0x140103fa4
cmp ebp, eax
jl 0x140103fb1
mov ebp, eax
jmp 0x140103fb1
mov r9d, dword [rcx]
mov r10d, edx
cmp esi, r9d
cmovle esi, r9d
inc edx
add rcx, 8
cmp edx, r8d
jle 0x140103f90
mov dword [rsp + 0x64], esi
mov dword [rsp + 0x58], ebp
cmp r10d, r13d
jle 0x140103fd5
mov edx, r11d
mov r13d, r8d
mov dword [rsp + 0x28], edx
jmp 0x140103fd9
mov edx, dword [rsp + 0x28]
inc rbx
cmp rbx, r14
jl 0x140103f32
movzx edi, byte [rsp + 0x34]
mov dword [rsp + 0x40], r13d
test r10d, r10d
js 0x1401044c8
mov ebx, dword [rsp + 0x40]
movq r15, xmm2
movsxd r8, r10d
mov r11d, 0xffffffff
movsxd r13, r13d
mov ecx, r10d
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x78], r15
movzx eax, byte [r15 + r8]
mov edi, dword [r12 + r8*8]
and al, 3
mov r12, qword [rsp + 0xc8]
cmp al, 1
mov qword [rsp + 0x90], r13
cmove r11d, r10d
mov dword [rsp + 0x2c], r11d
mov r14d, r11d
mov dword [rsp + 0x38], r11d
cmp ecx, edx
jle 0x140104053
dec ecx
dec r8
jmp 0x140104058
mov ecx, ebx
mov r8, r13
mov edx, dword [r12 + r8*8 + 4]
mov eax, edx
sub eax, r9d
jns 0x140104069
mov eax, r9d
sub eax, edx
cmp eax, 5
jle 0x14010408d
mov r11d, dword [r12 + r8*8]
mov edx, r11d
sub edx, edi
jns 0x14010407e
mov edx, edi
sub edx, r11d
mov r11d, dword [rsp + 0x2c]
lea eax, [rax + rax*4]
shl eax, 2
cmp edx, eax
jle 0x1401040b8
movzx eax, byte [r8 + r15]
and al, 3
mov dword [rsp + 0x30], ecx
cmp al, 1
jne 0x1401040af
test r14d, r14d
mov dword [rsp + 0x2c], ecx
mov r11d, ecx
cmovs r14d, ecx
mov dword [rsp + 0x38], r14d
mov edx, dword [rsp + 0x28]
cmp ecx, r10d
jne 0x140104048
movsxd rsi, dword [rsp + 0x28]
mov ebx, r10d
mov rbp, qword [rsp + 0xc8]
mov r14, rsi
mov r12d, ebx
movsxd rdx, r10d
cmp rdx, r13
jge 0x1401040dd
inc ebx
inc rdx
jmp 0x1401040e2
mov ebx, esi
mov rdx, r14
mov ecx, dword [rbp + rdx*8 + 4]
mov eax, ecx
sub eax, r9d
jns 0x1401040f2
mov eax, r9d
sub eax, ecx
cmp eax, 5
jle 0x140104112
mov r8d, dword [rbp + rdx*8]
mov ecx, r8d
sub ecx, edi
jns 0x140104108
mov ecx, edi
sub ecx, r8d
lea eax, [rax + rax*4]
shl eax, 2
cmp ecx, eax
jle 0x140104130
movzx eax, byte [rdx + r15]
mov r12d, ebx
and al, 3
cmp al, 1
jne 0x14010412b
test r11d, r11d
mov dword [rsp + 0x38], ebx
cmovs r11d, ebx
cmp ebx, r10d
jne 0x1401040d1
mov r8, qword [rsp + 0x50]
mov esi, dword [rsp + 0x64]
mov ebp, dword [rsp + 0x58]
mov dword [rsp + 0x60], r12d
test byte [r8 + 4], 0x10
mov dword [rsp + 0x2c], r11d
mov dword [rsp + 0x5c], ebx
je 0x140104471
mov rax, qword [rsp + 0x80]
mov r8, qword [rsp + 0xc8]
movsxd rbx, dword [rsp + 0x30]
mov r11d, dword [rax + 0x38]
mov eax, 0x51eb851f
mul r11d
movsxd rax, r12d
shr edx, 3
mov dword [rsp + 0x4c], edx
mov ecx, dword [r8 + rax*8]
mov eax, ecx
mov r8d, dword [r8 + rbx*8]
sub eax, r8d
sub r8d, ecx
test eax, eax
cmovns r8d, eax
cmp r8d, edx
jge 0x140104336
mov eax, dword [rsp + 0x40]
mov ecx, r12d
sub eax, dword [rsp + 0x28]
sub ecx, ebx
add ecx, 2
cmp ecx, eax
jg 0x140104336
mov r15, qword [rsp + 0x90]
mov ecx, r10d
mov r12, qword [rsp + 0xc8]
mov ebp, dword [rsp + 0x40]
shr r11d, 2
xor r13d, r13d
movsxd r8, r10d
mov ebx, r13d
mov dword [rsp + 0x68], r11d
mov rax, r8
cmp rax, r14
jle 0x1401041f0
dec ecx
dec rax
jmp 0x1401041f5
mov ecx, ebp
mov rax, r15
mov edx, dword [r12 + rax*8]
cmp edx, edi
jne 0x140104202
cmp rax, r8
jne 0x1401041e4
mov ebp, dword [rsp + 0x58]
cmp ecx, r10d
je 0x14010450d
movsxd rax, dword [rsp + 0x60]
cmp edx, edi
mov dword [rsp + 0x6c], eax
mov r8d, eax
setl r12b
mov r10, rax
xor r14b, r14b
mov r15, rax
nop word [rax + rax]
test r14b, r14b
jne 0x14010425a
mov rax, qword [rsp + 0x78]
mov ebx, 0xffffffff
mov dword [rsp + 0x6c], r8d
mov r15, r10
mov r14b, 1
movzx eax, byte [r10 + rax]
and al, 3
cmp al, 1
cmove ebx, r8d
mov r13d, ebx
cmp r10, qword [rsp + 0x90]
jge 0x14010426c
inc r8d
inc r10
jmp 0x140104277
movsxd rcx, dword [rsp + 0x28]
mov r8d, ecx
mov r10, rcx
mov rdx, qword [rsp + 0xc8]
mov eax, r9d
mov edi, dword [rdx + r15*8 + 4]
sub eax, edi
jns 0x140104290
mov eax, edi
sub eax, r9d
cmp eax, r11d
jle 0x14010429d
xor r14b, r14b
jmp 0x140104321
mov ecx, dword [rdx + r10*8 + 4]
sub ecx, edi
sub edi, dword [rdx + r10*8 + 4]
test ecx, ecx
cmovns edi, ecx
cmp edi, 5
jle 0x1401042dd
mov eax, dword [rdx + r10*8]
mov ecx, eax
mov edx, dword [rdx + r15*8]
sub ecx, edx
sub edx, eax
lea eax, [rdi + rdi*4]
test ecx, ecx
cmovns edx, ecx
shl eax, 2
cmp edx, eax
jg 0x1401042d5
xor r14b, r14b
jmp 0x140104321
mov rdx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x78]
movzx eax, byte [r10 + rax]
and al, 3
cmp al, 1
jne 0x1401042f6
test ebx, ebx
mov r13d, r8d
cmovs ebx, r8d
mov ecx, dword [rdx + r15*8]
mov r11d, dword [rdx + r10*8]
mov edx, r11d
sub edx, ecx
cmp ecx, r11d
setl al
cmp al, r12b
jne 0x14010431c
sub ecx, r11d
test edx, edx
cmovns ecx, edx
cmp ecx, dword [rsp + 0x4c]
jge 0x140104398
mov r11d, dword [rsp + 0x68]
cmp r8d, dword [rsp + 0x30]
jne 0x140104230
mov r15, qword [rsp + 0x78]
mov r12d, dword [rsp + 0x60]
mov ebx, dword [rsp + 0x2c]
mov r13d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x50]
test ebx, ebx
js 0x140104483
test r13d, r13d
js 0x140104483
mov rdx, qword [rsp + 0xc8]
movsxd rax, r13d
mov ecx, dword [rdx + rax*8]
movsxd rax, ebx
mov edx, dword [rdx + rax*8]
mov eax, ecx
sub eax, edx
sub edx, ecx
test eax, eax
cmovns edx, eax
cmp edx, dword [rsp + 0x88]
jle 0x140104483
mov r15d, dword [rsp + 0x3c]
xor dil, dil
mov r12d, dword [rsp + 0x44]
jmp 0x1401044d7
mov r12, qword [rsp + 0xc8]
movsxd r15, dword [rsp + 0x6c]
movsxd rax, dword [rsp + 0x5c]
lea r11, [r12 + r15*8]
mov r9d, dword [r11 + 4]
lea r14, [r12 + rax*8]
cmp r10, qword [rsp + 0x90]
jge 0x1401043c8
inc r8d
inc r10
jmp 0x1401043d3
movsxd rcx, dword [rsp + 0x28]
mov r8d, ecx
mov r10, rcx
mov ecx, dword [r12 + r10*8 + 4]
mov eax, ecx
sub eax, r9d
jns 0x1401043e4
mov eax, r9d
sub eax, ecx
cmp eax, 5
jle 0x140104403
mov edx, dword [r11]
lea eax, [rdi + rdi*4]
mov ecx, dword [r14]
sub ecx, edx
sub edx, dword [r14]
test ecx, ecx
cmovns edx, ecx
shl eax, 2
cmp edx, eax
jle 0x140104438
mov rax, qword [rsp + 0x78]
mov r13d, r8d
movzx eax, byte [r10 + rax]
and al, 3
cmp al, 1
jne 0x14010441c
test ebx, ebx
cmovs ebx, r8d
cmp r8d, dword [rsp + 0x30]
jne 0x1401043b6
mov r9d, dword [r12 + r15*8 + 4]
mov r10d, r15d
mov r15, qword [rsp + 0x78]
mov r12d, r8d
jmp 0x140104344
cmp r8d, dword [rsp + 0x28]
jle 0x140104457
mov r9d, dword [r12 + r15*8 + 4]
dec r8d
mov r10d, r15d
mov r12d, r8d
mov r15, qword [rsp + 0x78]
jmp 0x140104344
mov r9d, dword [r12 + r15*8 + 4]
mov r10d, r15d
mov r8d, dword [rsp + 0x40]
mov r12d, r8d
mov r15, qword [rsp + 0x78]
jmp 0x140104344
mov r13d, dword [rsp + 0x38]
mov ebx, r11d
mov r10d, dword [rsp + 0x30]
jmp 0x140104349
movsxd rax, r10d
movzx ecx, byte [rax + r15]
and cl, 3
cmp cl, 1
jne 0x1401044b2
movsxd rax, r12d
movzx ecx, byte [rax + r15]
and cl, 3
cmp cl, 1
jne 0x1401044b2
mov r15d, dword [rsp + 0x3c]
xor dil, dil
mov r12d, dword [rsp + 0x44]
jmp 0x1401044d7
test byte [r8 + 4], 4
mov dil, 1
jne 0x14010450d
mov r15d, dword [rsp + 0x3c]
mov r12d, dword [rsp + 0x44]
jmp 0x1401044d7
mov r15d, dword [rsp + 0x3c]
mov r12d, dword [rsp + 0x44]
mov r8, qword [rsp + 0x50]
mov eax, dword [rsp + 0x24]
xor r14d, r14d
test byte [r8 + 4], 1
je 0x1401044f9
cmp r9d, r15d
jle 0x14010451e
mov r15d, r9d
mov dword [rsp + 0x3c], r9d
mov byte [rsp + 0x20], dil
jmp 0x140104523
cmp r9d, r15d
jge 0x14010451e
mov r15d, r9d
mov dword [rsp + 0x3c], r9d
mov byte [rsp + 0x20], dil
jmp 0x140104523
mov r15d, dword [rsp + 0x3c]
xor r14d, r14d
mov r12d, dword [rsp + 0x44]
mov eax, dword [rsp + 0x24]
movzx edi, byte [rsp + 0x20]
inc r12d
mov dword [rsp + 0x44], r12d
cmp r12d, dword [rsp + 0x70]
jb 0x140103e80
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xa8]
mov r13d, dword [rsp + 0x74]
lea eax, [r15 + 0x7fffffff]
mov r12d, 0x7fffffff
cmp eax, 0xfffffffd
ja 0x140104576
test dil, dil
je 0x140104691
mov eax, r13d
inc r13d
mov dword [rsp + 0x74], r13d
mov dword [rsp + rax*4 + 0x100], r15d
mov r11d, dword [rsp + 0x48]
movzx eax, byte [rcx]
mov r10, qword [rsp + 0x80]
test al, al
jne 0x140103e10
mov eax, r13d
test r11d, r11d
jne 0x14010459e
test eax, eax
je 0x140104767
mov r15d, 1
mov r10d, r15d
cmp r13d, r15d
jbe 0x140104600
nop dword [rax]
mov edx, r10d
test r10d, r10d
je 0x1401045f8
mov eax, r10d
lea rcx, [rsp + 0x100]
lea rcx, [rcx + rax*4]
nop word [rax + rax]
mov r8d, dword [rcx]
lea eax, [rdx - 1]
mov r9d, dword [rsp + rax*4 + 0x100]
mov edx, eax
cmp r8d, r9d
jge 0x1401045f8
mov dword [rcx], r9d
sub rcx, 4
mov dword [rsp + rax*4 + 0x100], r8d
test eax, eax
jne 0x1401045d0
inc r10d
cmp r10d, r13d
jb 0x1401045b0
mov r10d, r15d
cmp r11d, r15d
jbe 0x140104650
mov edx, r10d
test r10d, r10d
je 0x140104648
mov eax, r10d
lea rcx, [rsp + 0x1d0]
lea rcx, [rcx + rax*4]
nop
mov r8d, dword [rcx]
lea eax, [rdx - 1]
mov r9d, dword [rsp + rax*4 + 0x1d0]
mov edx, eax
cmp r8d, r9d
jge 0x140104648
mov dword [rcx], r9d
sub rcx, 4
mov dword [rsp + rax*4 + 0x1d0], r8d
test eax, eax
jne 0x140104620
inc r10d
cmp r10d, r11d
jb 0x140104608
mov rdi, qword [rsp + 0x98]
mov ecx, dword [rdi + 0xd8]
lea r8, [rcx*8 + 0x37]
add r8, rcx
lea eax, [rcx + 1]
mov dword [rdi + 0xd8], eax
lea r8, [rdi + r8*4]
test r11d, r11d
jne 0x1401046ab
mov eax, r13d
shr rax, 1
mov ecx, dword [rsp + rax*4 + 0x100]
mov dword [r8 + 0xc], ecx
mov dword [r8], ecx
jmp 0x1401046da
mov r11d, dword [rsp + 0x48]
mov dword [rsp + r11*4 + 0x1d0], r15d
inc r11d
mov dword [rsp + 0x48], r11d
jmp 0x14010457b
mov eax, r11d
shr rax, 1
mov ecx, dword [rsp + rax*4 + 0x1d0]
test r13d, r13d
jne 0x1401046c6
mov dword [r8 + 0xc], ecx
mov dword [r8], ecx
jmp 0x1401046da
mov eax, r13d
shr rax, 1
mov dword [r8], ecx
mov eax, dword [rsp + rax*4 + 0x100]
mov dword [r8 + 0xc], eax
mov r9d, dword [r8 + 0xc]
mov edx, dword [r8]
cmp r9d, edx
je 0x14010470d
test byte [rbx + 4], 3
mov ecx, r14d
mov eax, r14d
setne cl
cmp r9d, edx
setg al
cmp eax, ecx
je 0x14010470d
lea eax, [r9 + rdx]
cdq
sub eax, edx
sar eax, 1
mov dword [r8 + 0xc], eax
mov dword [r8], eax
mov dword [r8 + 0x18], esi
mov eax, r14d
mov dword [r8 + 0x1c], ebp
mov dword [r8 + 0x20], r14d
test byte [rbx + 4], r15b
je 0x14010472f
mov dword [r8 + 0x20], 2
mov eax, 2
test byte [rbx + 4], 2
je 0x14010473c
or eax, 4
mov dword [r8 + 0x20], eax
test byte [rbx + 4], 4
je 0x140104749
or eax, 8
mov dword [r8 + 0x20], eax
test byte [rbx + 4], 8
lea rdx, [0x140196ac0]
mov r10, qword [rsp + 0x80]
je 0x14010477c
or eax, 0x10
mov dword [r8 + 0x20], eax
jmp 0x14010477c
mov rdi, qword [rsp + 0x98]
lea rdx, [0x140196ac0]
mov r15d, 1
mov eax, dword [rbx + 8]
add rbx, 8
mov qword [rsp + 0x50], rbx
cmp eax, 0x159b
jne 0x140103de0
mov r13, qword [rsp + 0x2b0]
mov r12, qword [rsp + 0x2b8]
mov rsi, qword [rsp + 0x2c0]
mov rbp, qword [rsp + 0x300]
mov r9, qword [rsp + 0xb0]
mov ebx, dword [rdi + 0xd8]
test ebx, ebx
je 0x1401048c7
lea rax, [rsp + 0xc0]
mov edx, ebx
lea rcx, [rdi + 0xdc]
nop word [rax + rax]
mov qword [rax], rcx
lea rax, [rax + 8]
add rcx, 0x24
sub rdx, 1
jne 0x1401047e0
cmp ebx, 1
jbe 0x140104877
nop word [rax + rax]
mov eax, r15d
lea rdx, [rsp + 0xc0]
mov r8d, r15d
lea rdx, [rdx + rax*8]
nop dword [rax]
nop word [rax + rax]
lea eax, [r8 - 1]
lea r11, [rsp + 0xc0]
mov r8d, eax
mov rcx, qword [r11 + rax*8]
lea r11, [r11 + rax*8]
test byte [rcx + 0x20], 6
je 0x140104842
mov r9d, dword [rcx]
jmp 0x140104846
mov r9d, dword [rcx + 0xc]
mov rax, qword [rdx]
test byte [rax + 0x20], 6
je 0x140104854
mov r10d, dword [rax]
jmp 0x140104858
mov r10d, dword [rax + 0xc]
cmp r10d, r9d
jge 0x14010486c
mov qword [rdx], rcx
sub rdx, 8
mov qword [r11], rax
test r8d, r8d
jne 0x140104820
inc r15d
cmp r15d, ebx
jb 0x140104800
cmp ebx, 1
je 0x1401048c3
nop dword [rax]
mov eax, r14d
mov rcx, qword [rsp + rax*8 + 0xc0]
test byte [rcx + 0x20], 6
je 0x140104895
add rcx, 0xc
lea r8d, [r14 + 1]
mov rdx, qword [rsp + r8*8 + 0xc0]
test byte [rdx + 0x20], 6
je 0x1401048ab
add rdx, 0xc
mov eax, dword [rdx]
cmp dword [rcx], eax
jle 0x1401048b3
mov dword [rcx], eax
mov eax, dword [rdi + 0xd8]
mov r14d, r8d
dec eax
cmp r8d, eax
jb 0x140104880
xor eax, eax
jmp 0x140104906
mov rdx, qword [r10 + 0x30]
cmp dword [rdx + 8], 0
mov r8, qword [rdx + 0x10]
jbe 0x140104903
nop word [rax + rax]
mov eax, r14d
movzx ecx, word [r8 + rax*2]
and ecx, 0x3fff
cmp ecx, dword [r9]
jne 0x1401048fa
mov word [r8 + rax*2], 0x42
inc r14d
cmp r14d, dword [rdx + 8]
jb 0x1401048e0
mov eax, r15d
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14015d760
add rsp, 0x2c8
pop r15
pop r14
pop rdi
pop rbx
ret