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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rbp, r9
mov r12d, r8d
mov r13, rdx
mov rdi, rcx
movaps xmmword [rax - 0x68], xmm8
cmp r8d, 4
jbe 0x100138bf3
xor eax, eax
jmp 0x10013a2fb
mov r14d, 1
xor ebx, ebx
mov esi, r14d
cmp r12d, r14d
jbe 0x100138c2f
lea rbp, [rdx + 4]
mov r8d, dword [rbp]
mov edx, dword [r13]
mov rcx, rdi
call fcn.1001389b4
cmp eax, ebx
je 0x100138c27
add esi, r14d
add rbp, 4
cmp esi, r12d
jb 0x100138c07
mov rbp, qword [rsp + 0x1b8]
cmp esi, r12d
jne 0x100138c3c
mov eax, r14d
jmp 0x10013a2fb
mov rsi, r12
lea rcx, [rsp + 0x50]
mov rdx, r13
shl rsi, 2
mov qword [rsp + 0x88], r12
mov r8, rsi
mov qword [rsp + 0x78], rsi
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x90]
mov r8, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x1c8]
cmp rbp, rbx
je 0x100138c91
mov eax, dword [rcx]
mov dword [rsp + 0x30], ebx
and eax, 0xfff00000
cmp eax, 0x11200000
jne 0x100138c96
mov dword [rsp + 0x30], r14d
movsd xmm8, qword [0x1000383e0]
xorpd xmm7, xmm7
mov r15d, ebx
mov r14d, ebx
mov ebp, 1
cmp r12d, ebx
jbe 0x100138e78
lea r12, [rsp + 0x50]
mov r13, rbx
mov esi, dword [r12]
mov eax, dword [rsp + 0x1d8]
mov r9d, dword [rsp + 0x1d0]
mov r8, rcx
mov edx, esi
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.100138954
cmp eax, ebx
je 0x100138d59
or r10d, 0xffffffff
movsd qword [rsp + 0x40], xmm8
movsd qword [rsp + 0x60], xmm7
mov edx, esi
cmp esi, r10d
je 0x100138d59
mov r9, qword [rdi + 0x18]
mov rbp, qword [rdi + 0x20]
mov eax, edx
mov r8, qword [rbp + rax*8]
mov eax, dword [r8 + 4]
mov rcx, qword [r9 + rax*8]
bt dword [rcx + 8], 8
jae 0x100138d23
cmp dword [r8 + 8], r10d
je 0x100138d7d
cmp dword [r8 + 0x48], r10d
je 0x100138d4c
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.100138a08
mov r9, qword [rdi + 0x18]
or r10d, 0xffffffff
mov edx, eax
jmp 0x100138d4f
mov edx, r10d
cmp edx, r10d
jne 0x100138d07
mov ebp, 1
mov rax, qword [rdi + 0x20]
mov ecx, esi
mov rcx, qword [rax + rcx*8]
mov esi, dword [rcx + 0x34]
cmp dword [r12], esi
je 0x100138e41
mov rcx, qword [rsp + 0x1c8]
jmp 0x100138cc3
movsd xmm0, qword [rsp + 0x40]
ucomisd xmm8, xmm0
jp 0x100138d96
jne 0x100138d96
ucomisd xmm7, qword [rsp + 0x60]
jp 0x100138d96
je 0x100138e12
mov eax, edx
mov edx, ebx
mov rcx, qword [rbp + rax*8]
mulsd xmm0, qword [rcx + 0x20]
addsd xmm0, qword [rsp + 0x60]
cmp dword [rdi + 0xc], ebx
jbe 0x100138de4
mov ebx, 1
mov r8, qword [rbp]
mov eax, dword [r8 + 4]
mov rcx, qword [r9 + rax*8]
bt dword [rcx + 8], 8
jae 0x100138dd7
cmp dword [r8 + 8], r10d
jne 0x100138dd7
ucomisd xmm0, qword [r8 + 0x20]
jp 0x100138dd7
je 0x100138de2
add edx, ebx
add rbp, 8
cmp edx, dword [rdi + 0xc]
jb 0x100138db4
xor ebx, ebx
cmp edx, dword [rdi + 0xc]
jne 0x100138e12
mov edx, dword [rdi + 0x90]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
movsd qword [rsp + 0x20], xmm0
call fcn.10014f6f4
or r10d, 0xffffffff
mov edx, eax
cmp eax, r10d
je 0x100138bec
mov ebp, 1
movabs rax, 0x3ff0000000000000
mov dword [r12], edx
add r15d, ebp
mov qword [rsp + r13 + 0xf0], rax
mov qword [rsp + r13 + 0xd0], rbx
cmp edx, r10d
je 0x100138d59
add r14d, ebp
add r12, 4
add r13, 8
cmp r14d, dword [rsp + 0x1b0]
jae 0x100138e63
mov rcx, qword [rsp + 0x1c8]
jmp 0x100138cbf
mov r12d, dword [rsp + 0x1b0]
mov rsi, qword [rsp + 0x78]
mov r13, qword [rsp + 0x1a8]
cmp r15d, r12d
jne 0x100138e94
lea rdx, [rsp + 0x50]
mov r8, rsi
mov rcx, r13
call sub.msvcrt.dll_memcpy
mov eax, ebp
jmp 0x10013a2fb
mov r11d, ebx
mov dword [rsp + 0x68], ebx
cmp r12d, ebx
jbe 0x100139354
movsd xmm3, qword [rsp + 0xc8]
movsd xmm4, qword [rsp + 0xc8]
mov r8, rbx
mov qword [rsp + 0x40], rbx
mov r10, rbx
mov qword [rsp + 0x60], rbx
or r13d, 0xffffffff
cmp dword [rsp + r8 + 0x90], ebx
jne 0x100139331
mov r9d, dword [rsp + r8 + 0x50]
mov rsi, qword [rdi + 0x20]
mov rax, qword [rdi + 0x18]
mov rdx, qword [rsi + r9*8]
mov qword [rsp + 0xa8], r9
mov ecx, dword [rdx + 4]
mov rcx, qword [rax + rcx*8]
bt dword [rcx + 8], 8
jae 0x100138f09
cmp dword [rdx + 8], r13d
je 0x100139331
mov r8, qword [rsp + 0x1c8]
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x38], ebx
mov ebp, r9d
mov dword [rsp + 0x3c], r9d
mov eax, dword [rsp + 0x1d8]
mov r9d, dword [rsp + 0x1d0]
mov edx, ebp
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.100138954
cmp eax, ebx
je 0x100139161
movapd xmm1, xmm8
or r9d, 0xffffffff
movsd qword [rsp + 0xa0], xmm7
mov r12d, ebp
movapd xmm2, xmm7
movsd qword [rsp + 0x80], xmm1
cmp ebp, r9d
je 0x100139161
mov eax, r12d
mov r13d, ebx
mov r15d, ebx
mov rax, qword [rsi + rax*8]
mov r14, rbx
mov ecx, 1
cmp dword [rax + 0x48], r9d
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x70], rax
cmove r13d, r9d
cmp dword [rsp + r14 + 0x90], ebx
jne 0x1001390af
mov ebp, dword [rsp + r14 + 0x50]
cmp ebp, r9d
je 0x1001390af
mov eax, dword [rsp + 0x1d8]
mov r9d, dword [rsp + 0x1d0]
mov edx, ebp
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.100138954
or r9d, 0xffffffff
cmp eax, ebx
je 0x100139080
mov esi, ebp
cmp ebp, r9d
je 0x100139080
mov r8d, esi
mov edx, r12d
mov rcx, rdi
call fcn.1001389b4
or r9d, 0xffffffff
cmp eax, ebx
jne 0x10013904c
movsxd rcx, dword [rsp + 0x30]
cmp rcx, rbx
jne 0x100139047
mov rax, qword [rdi + 0x20]
mov ecx, esi
mov rdx, qword [rax + rcx*8]
cmp dword [rdx + 0x48], r9d
je 0x10013903d
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov rcx, rdi
call fcn.100138a08
or r9d, 0xffffffff
mov esi, eax
jmp 0x100139040
mov esi, r9d
cmp esi, r9d
jne 0x100138ff0
jmp 0x100139078
mov esi, r9d
jmp 0x100139073
mov rax, qword [rdi + 0x20]
mov edx, esi
inc r15d
mov rcx, qword [rax + rdx*8]
cmp dword [rcx + 0x48], r9d
je 0x100139073
mov rcx, qword [rax + rdx*8]
mov eax, dword [rcx + 0x48]
sub eax, dword [rsp + 0x1d0]
imul eax, eax
add r13d, eax
cmp esi, r9d
jne 0x10013909d
mov r8, qword [rsp + 0x1c8]
mov rax, qword [rdi + 0x20]
mov ecx, ebp
mov rcx, qword [rax + rcx*8]
mov ebp, dword [rcx + 0x34]
cmp dword [rsp + r14 + 0x50], ebp
je 0x10013909d
cmp ebp, r9d
jne 0x100138fbc
mov rax, qword [rsp + 0x70]
mov r8, qword [rsp + 0x1c8]
mov ecx, 1
add r14, 4
sub rax, rcx
mov qword [rsp + 0x70], rax
jne 0x100138fa0
mov r14d, dword [rsp + 0x48]
cmp r14d, r15d
jb 0x1001390d4
jne 0x1001390eb
cmp dword [rsp + 0x38], r13d
jae 0x1001390eb
mov dword [rsp + 0x34], r12d
movapd xmm3, xmm1
movapd xmm4, xmm2
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x38], r13d
movsxd rcx, dword [rsp + 0x30]
cmp rcx, rbx
jne 0x100139155
mov rsi, qword [rdi + 0x20]
mov eax, r12d
mov rax, qword [rsi + rax*8]
cmp dword [rax + 0x48], r9d
je 0x100139141
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x80]
mov edx, r12d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.100138a08
or r9d, 0xffffffff
mov r12d, eax
movsd xmm1, qword [rsp + 0x80]
movsd xmm2, qword [rsp + 0xa0]
jmp 0x100139144
mov r12d, r9d
mov r8, qword [rsp + 0x1c8]
cmp r12d, r9d
jne 0x100138f76
mov ebp, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x1c8]
mov rsi, qword [rdi + 0x20]
mov eax, ebp
mov rcx, qword [rsi + rax*8]
mov ebp, dword [rcx + 0x34]
mov dword [rsp + 0x3c], ebp
cmp dword [rsp + 0xa8], ebp
jne 0x100138f26
mov r12d, dword [rsp + 0x34]
or edx, 0xffffffff
cmp r12d, edx
je 0x100138bec
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x88]
mov ebp, 1
mov dword [rsp + rax + 0x50], r12d
movsd qword [rsp + rcx + 0xf0], xmm3
movsd qword [rsp + rcx + 0xd0], xmm4
mov r15, rsi
mov r13, rbx
mov qword [rsp + 0xa0], r14
mov r12, rbx
mov dword [rsp + rax + 0x90], ebp
cmp dword [rsp + r12 + 0x90], ebx
jne 0x1001392f5
mov ebp, dword [rsp + r12 + 0x50]
cmp ebp, edx
je 0x1001392f0
mov r14d, dword [rsp + 0x1d8]
mov r9d, dword [rsp + 0x1d0]
mov edx, ebp
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.100138954
or edx, 0xffffffff
cmp eax, ebx
je 0x1001392d0
movsd qword [rsp + 0x70], xmm8
movsd qword [rsp + 0x80], xmm7
mov esi, ebp
cmp ebp, edx
je 0x1001392d0
mov edx, dword [rsp + 0x34]
mov r8d, esi
mov rcx, rdi
call fcn.1001389b4
or edx, 0xffffffff
cmp eax, ebx
jne 0x10013928f
movsxd rcx, dword [rsp + 0x30]
cmp rcx, rbx
jne 0x10013928b
mov eax, esi
mov rcx, qword [r15 + rax*8]
cmp dword [rcx + 0x48], edx
je 0x100139283
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x70]
mov edx, esi
mov rcx, rdi
call fcn.100138a08
or edx, 0xffffffff
mov esi, eax
jmp 0x100139285
mov esi, edx
cmp esi, edx
jne 0x100139235
jmp 0x1001392c8
mov esi, edx
jmp 0x1001392c4
movsd xmm0, qword [rsp + 0x70]
movsd xmm1, qword [rsp + 0x80]
mov eax, 1
mov dword [rsp + r12 + 0x50], esi
mov dword [rsp + r12 + 0x90], eax
movsd qword [rsp + r13 + 0xf0], xmm0
movsd qword [rsp + r13 + 0xd0], xmm1
cmp esi, edx
jne 0x1001392e8
mov r8, qword [rsp + 0x1c8]
mov eax, ebp
mov rcx, qword [r15 + rax*8]
mov ebp, dword [rcx + 0x34]
cmp dword [rsp + r12 + 0x50], ebp
je 0x1001392e8
cmp ebp, edx
jne 0x1001391f9
mov r14, qword [rsp + 0xa0]
mov ebp, 1
mov r8, qword [rsp + 0x1c8]
add r12, 4
add r13, 8
sub r14, rbp
mov qword [rsp + 0xa0], r14
jne 0x1001391d6
mov r8, qword [rsp + 0x40]
mov r10, qword [rsp + 0x60]
mov r11d, dword [rsp + 0x68]
mov r12d, dword [rsp + 0x1b0]
or r13d, 0xffffffff
add r11d, ebp
add r10, 8
add r8, 4
mov dword [rsp + 0x68], r11d
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x40], r8
cmp r11d, r12d
jb 0x100138eca
mov ebp, ebx
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], ebx
cmp r12d, ebx
jbe 0x10013a2d9
mov r15, qword [rdi + 0x20]
mov r13, qword [rsp + 0x88]
lea r12, [rsp + 0x50]
mov rsi, rbx
mov eax, dword [r12]
mov r8d, dword [rsp + 0x50]
mov rcx, rdi
mov r14, qword [r15 + rax*8]
mov edx, eax
call fcn.1001389b4
mov r11d, 1
cmp eax, ebx
cmove ebp, r11d
ucomisd xmm8, qword [rsp + rsi + 0xf0]
jp 0x1001393b0
je 0x1001393b9
mov edx, r11d
mov dword [rsp + 0x34], edx
jmp 0x1001393bd
mov edx, dword [rsp + 0x34]
ucomisd xmm7, qword [rsp + rsi + 0xd0]
jp 0x1001393ca
je 0x1001393d4
mov r8d, r11d
mov dword [rsp + 0x38], r11d
jmp 0x1001393d9
mov r8d, dword [rsp + 0x38]
mov eax, dword [r14 + 4]
mov r10, qword [rdi + 0x18]
mov rcx, qword [r10 + rax*8]
bt dword [rcx + 8], 8
jae 0x100139401
mov eax, dword [rsp + 0x3c]
or ecx, 0xffffffff
cmp dword [r14 + 8], ecx
cmove eax, r11d
mov dword [rsp + 0x3c], eax
jmp 0x100139404
or ecx, 0xffffffff
add r12, 4
add rsi, 8
sub r13, r11
jne 0x10013937f
cmp edx, ebx
jne 0x100139426
cmp r8d, ebx
jne 0x100139426
cmp ebp, ebx
je 0x10013a2df
cmp dword [rsp + 0x30], ebx
jne 0x100138bec
mov r14d, dword [rdi + 0x84]
mov r9d, ebx
mov dword [rsp + 0x30], ebx
shl r14d, 0x1d
mov edx, ebx
mov rbp, rbx
sar r14d, 0x1f
mov rsi, rbx
mov dword [rsp + 0x80], r14d
mov eax, dword [rsp + rsi + 0x50]
mov r8, qword [r15 + rax*8]
cmp r14d, ebx
jne 0x100139627
test byte [rdi + 0x84], 2
jne 0x100139627
mov r12d, dword [r8 + 4]
mov rax, qword [r10 + r12*8]
bt dword [rax + 8], 8
jae 0x1001394d0
cmp dword [r8 + 8], ecx
jne 0x1001394d0
mov ecx, ebx
cmp edx, ebx
jbe 0x100139554
lea r10, [rsp + 0x50]
or r13d, 0xffffffff
mov eax, dword [r10]
mov r9, qword [r15 + rax*8]
cmp r12d, dword [r9 + 4]
jne 0x1001394c3
cmp dword [r9 + 8], r13d
jne 0x1001394c3
movsd xmm0, qword [r8 + 0x20]
ucomisd xmm0, qword [r9 + 0x20]
jp 0x1001394c3
je 0x10013954b
add ecx, r11d
add r10, 4
cmp ecx, edx
jb 0x10013949c
jmp 0x10013954b
mov ecx, ebx
cmp edx, ebx
jbe 0x100139554
movsd xmm1, qword [rsp + rbp + 0xf0]
lea r11, [rsp + 0x50]
mov r10, rbx
ucomisd xmm1, qword [rsp + r10 + 0xf0]
mov eax, dword [r11]
mov r9, qword [r15 + rax*8]
jp 0x100139537
jne 0x100139537
movsd xmm0, qword [rsp + rbp + 0xd0]
ucomisd xmm0, qword [rsp + r10 + 0xd0]
jp 0x100139537
jne 0x100139537
cmp r12d, dword [r9 + 4]
jne 0x100139537
mov eax, dword [r9 + 8]
cmp dword [r8 + 8], eax
jne 0x100139537
mov eax, dword [r9 + 0xc]
cmp dword [r8 + 0xc], eax
jne 0x100139537
mov eax, dword [r9 + 0x10]
cmp dword [r8 + 0x10], eax
je 0x100139545
inc ecx
add r11, 4
add r10, 8
cmp ecx, edx
jb 0x1001394e7
mov r11d, 1
mov r10, qword [rdi + 0x18]
mov r9d, dword [rsp + 0x30]
mov dword [rsp + rsi + 0x110], ecx
cmp edx, ecx
jne 0x100139567
add r9d, r11d
mov dword [rsp + 0x30], r9d
add edx, r11d
add rbp, 8
add rsi, 4
mov ecx, 0xffffffff
cmp edx, dword [rsp + 0x1b0]
jb 0x100139456
mov esi, dword [rsp + 0x1b0]
mov ebp, r11d
or r13d, ecx
mov r11, rbx
mov dword [rsp + 0x48], ebx
mov r8d, ebx
mov eax, 1
cmp r8d, dword [rsp + r11 + 0x110]
jne 0x100139685
mov eax, dword [rsp + r11 + 0x50]
mov r12d, dword [rdi + 0xa0]
mov rsi, qword [r15 + rax*8]
cmp r12d, dword [rsi + 4]
jne 0x100139679
mov eax, dword [rsp + 0x1b0]
mov edx, r9d
mov r10d, ebx
mov r9, rbx
mov rcx, rbx
or r14d, 0xffffffff
cmp r10d, dword [rsp + rcx + 0x110]
jne 0x100139635
mov eax, dword [rsp + rcx + 0x50]
mov rax, qword [r15 + rax*8]
cmp r12d, dword [rax + 4]
jne 0x10013962e
mov eax, dword [rax + 0xc]
cmp dword [rsi + 0xc], eax
jne 0x10013962e
ucomisd xmm8, qword [rsp + r9 + 0xf0]
jp 0x10013962e
jne 0x10013962e
ucomisd xmm7, qword [rsp + r9 + 0xd0]
jp 0x10013962e
mov eax, dword [rsp + 0x1b0]
jne 0x100139635
add edx, r14d
jmp 0x100139635
mov ecx, edx
jmp 0x100139554
mov eax, dword [rsp + 0x1b0]
inc r10d
add rcx, 4
add r9, 8
cmp r10d, eax
jb 0x1001395df
mov eax, dword [rsi + 0xc]
mov r14, qword [rsp + 0x1b8]
mov ecx, dword [r14 + rax*4]
lea eax, [rdx + rcx]
cmp eax, 4
ja 0x100139679
mov esi, dword [rsp + 0x1b0]
mov eax, 1
cmp edx, r13d
jae 0x100139685
mov ebp, ebx
mov r13d, edx
mov dword [rsp + 0x48], r8d
jmp 0x100139685
mov esi, dword [rsp + 0x1b0]
mov eax, 1
mov r9d, dword [rsp + 0x30]
add r8d, eax
add r11, 4
cmp r8d, esi
jb 0x1001395a0
mov r14d, dword [rsp + 0x80]
mov r9d, 0x10000000
cmp r14d, ebx
jne 0x1001396ba
test byte [rdi + 0x84], 2
je 0x100139793
mov r14, qword [rsp + 0x1c8]
mov eax, dword [r14]
and eax, 0xf0000000
cmp eax, r9d
jb 0x10013979b
mov r13, qword [rdi + 0x18]
cmp eax, 0x40000000
ja 0x10013979f
mov r11d, ebx
mov r8, rbx
or ecx, 0xffffffff
cmp ebp, ebx
jne 0x10013978b
mov eax, dword [rsp + r8 + 0x50]
mov rdx, qword [r15 + rax*8]
mov r12d, dword [rdx + 4]
mov rax, qword [r13 + r12*8]
bt dword [rax + 8], 8
jae 0x100139711
cmp dword [rdx + 8], ecx
jne 0x10013977b
mov rax, qword [r14 + 0x18]
mov ecx, dword [rax + r8]
mov rax, qword [r15 + rcx*8]
mov ecx, dword [rax + 0x10]
cmp dword [rdx + 0x10], ecx
je 0x100139778
mov rsi, qword [rsp + 0x88]
mov r10d, ebx
lea r9, [rsp + 0x50]
mov r13d, 1
mov eax, dword [r9]
mov rcx, qword [r15 + rax*8]
cmp dword [rcx + 4], r12d
jne 0x10013975b
mov eax, dword [rdx + 0xc]
cmp dword [rcx + 0xc], eax
jne 0x10013975b
mov eax, dword [rdx + 8]
cmp dword [rcx + 8], eax
jne 0x10013975b
add r10d, r13d
add r9, 4
sub rsi, r13
jne 0x10013973b
mov rsi, r13
mov r13, qword [rdi + 0x18]
cmp r10d, esi
cmova ebp, esi
mov esi, dword [rsp + 0x1b0]
or ecx, 0xffffffff
inc r11d
add r8, 4
cmp r11d, esi
jb 0x1001396eb
mov r9d, 0x10000000
jmp 0x10013979f
mov r14, qword [rsp + 0x1c8]
mov r13, qword [rdi + 0x18]
mov edx, dword [r14]
and edx, 0xfff00000
cmp edx, r9d
jne 0x1001397ce
test byte [rdi + 0x84], 8
jne 0x1001397ce
mov rax, qword [r14 + 0x18]
mov ecx, dword [rax]
mov rax, qword [r15 + rcx*8]
mov ecx, dword [rax + 4]
mov rax, qword [r13 + rcx*8]
test byte [rax + 8], 0x20
jne 0x1001397f7
cmp edx, 0x11200000
je 0x1001397f7
cmp edx, r9d
jne 0x1001397f7
mov eax, dword [rsp + 0x34]
cmp eax, ebx
jne 0x1001397f7
mov ecx, dword [rsp + 0x38]
cmp ecx, ebx
jne 0x1001397f7
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
je 0x10013a2e2
or r13d, 0xffffffff
mov dword [rsp + 0xb4], r13d
cmp ebp, ebx
je 0x10013981b
mov rcx, qword [rsp + 0x1c0]
mov r12d, dword [rcx]
lea eax, [r12 + 1]
mov dword [rcx], eax
jmp 0x10013982b
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + rax*4 + 0x50]
mov rax, qword [r15 + rcx*8]
mov r12d, dword [rax + 0xc]
mov rax, qword [r14 + 0x18]
mov r8, qword [rsp + 0x78]
mov dword [rsp + 0x34], r12d
mov ecx, dword [rax]
mov rax, qword [rdi + 0x20]
mov rdx, qword [rax + rcx*8]
lea rcx, [rsp + 0x90]
mov eax, dword [rdx + 0x14]
mov dword [rsp + 0xb8], eax
mov eax, dword [rdx + 0x18]
xor edx, edx
mov dword [rsp + 0xb0], eax
call sub.msvcrt.dll_memset
mov r11d, ebx
mov rdx, rbx
mov r8, rbx
mov eax, 1
cmp r11d, dword [rsp + rdx + 0x110]
jne 0x1001398bd
mov rax, qword [rdi + 0x20]
mov ecx, dword [rsp + rdx + 0x50]
mov r9, qword [rax + rcx*8]
mov eax, dword [r9 + 4]
cmp dword [rdi + 0xa0], eax
mov eax, 1
jne 0x1001398c4
cmp r12d, dword [r9 + 0xc]
jne 0x1001398c4
ucomisd xmm8, qword [rsp + r8 + 0xf0]
jp 0x1001398c4
jne 0x1001398c4
ucomisd xmm7, qword [rsp + r8 + 0xd0]
jp 0x1001398c4
jne 0x1001398c4
mov dword [rsp + rdx + 0x90], eax
add r11d, eax
add r8, 8
add rdx, 4
cmp r11d, esi
jb 0x100139874
cmp ebp, ebx
mov ebp, 1
jne 0x100139abb
mov rdx, qword [rsp + 0x88]
mov r14, rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x40], rdx
cmp dword [rsp + r14 + 0x90], ebx
jne 0x100139aa0
mov eax, dword [rsp + r14 + 0x50]
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0xa8], rax
mov rax, qword [rcx + rax*8]
mov ecx, dword [rdi + 0xa0]
mov qword [rsp + 0xc0], rax
cmp ecx, dword [rax + 4]
jne 0x100139aa0
mov r14, qword [rsp + 0xa8]
mov eax, dword [rsp + 0x1b0]
mov r15d, ebx
mov r13d, ebx
mov r12d, ebx
mov rbp, rbx
mov rsi, rbx
mov ecx, 1
cmp dword [rsp + rbp + 0x90], ebx
jne 0x10013999d
mov r8d, dword [rsp + rbp + 0x50]
mov edx, r14d
mov rcx, rdi
inc r15d
call fcn.1001389b4
cmp eax, ebx
je 0x100139991
inc r13d
ucomisd xmm8, qword [rsp + rsi + 0xf0]
jp 0x1001399ad
jne 0x1001399ad
ucomisd xmm7, qword [rsp + rsi + 0xd0]
jp 0x1001399ad
jne 0x1001399ad
mov eax, dword [rsp + 0x1b0]
mov ecx, 1
add r12d, ecx
add rbp, 4
add rsi, 8
cmp r12d, eax
jb 0x100139953
mov r14, qword [rsp + 0x60]
cmp r12d, dword [rsp + 0x1b0]
jb 0x100139a96
mov rax, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0x1b8]
movsxd r12, dword [rsp + 0x34]
mov r9d, dword [rax + 0xc]
mov eax, dword [rbp + r9*4]
sub eax, r13d
add eax, r15d
add eax, dword [rbp + r12*4]
cmp eax, 4
ja 0x100139a96
mov r8, qword [rsp + 0x88]
mov r10, qword [rdi + 0x20]
mov r11d, dword [rdi + 0xa0]
mov rcx, rbx
mov eax, 1
cmp dword [rsp + rcx + 0x90], ebx
jne 0x100139a36
mov eax, dword [rsp + rcx + 0x50]
mov rdx, qword [r10 + rax*8]
mov eax, 1
cmp r11d, dword [rdx + 4]
jne 0x100139a36
cmp r9d, dword [rdx + 0xc]
jne 0x100139a36
mov dword [rsp + rcx + 0x90], eax
add rcx, 4
sub r8, rax
jne 0x100139a0d
mov r8d, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x100139a87
mov rdx, rbx
mov r14d, 1
mov rax, qword [rdi + 0x20]
mov rcx, qword [rdx + rax]
mov eax, dword [rcx + 4]
cmp dword [rdi + 0xa0], eax
jne 0x100139a75
cmp r9d, dword [rcx + 0xc]
jne 0x100139a75
mov dword [rcx + 0xc], r12d
mov eax, dword [rbp + r12*4]
add dword [rcx + 0x10], eax
add r8d, r14d
add rdx, 8
cmp r8d, dword [rdi + 0xc]
jb 0x100139a50
mov r14, qword [rsp + 0x60]
mov eax, dword [rbp + r9*4]
add dword [rbp + r12*4], eax
mov dword [rbp + r9*4], ebx
mov rdx, qword [rsp + 0x40]
mov ebp, 1
add r14, 4
sub rdx, rbp
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x60], r14
jne 0x1001398f6
or r13d, 0xffffffff
mov eax, dword [rdi + 0x84]
test al, 4
jne 0x100139c1a
test al, 2
jne 0x100139c1a
mov r8, qword [rsp + 0x88]
mov rsi, rbx
mov r15, r8
mov qword [rsp + 0x78], r8
cmp dword [rsp + rsi + 0x90], ebx
jne 0x100139c02
mov rax, qword [rdi + 0x20]
mov r14d, dword [rsp + rsi + 0x50]
mov rcx, qword [rdi + 0x18]
mov rdx, qword [rax + r14*8]
mov eax, dword [rdx + 4]
mov rcx, qword [rcx + rax*8]
bt dword [rcx + 8], 8
jae 0x100139b1a
cmp dword [rdx + 8], r13d
je 0x100139c02
mov r12d, ebx
mov rbp, rbx
mov r13, r8
mov eax, 1
cmp dword [rsp + rbp + 0x90], ebx
jne 0x100139b4d
mov r8d, dword [rsp + rbp + 0x50]
mov edx, r14d
mov rcx, rdi
call fcn.1001389b4
cmp eax, ebx
mov eax, 1
je 0x100139b4d
add r12d, eax
add rbp, 4
sub r13, rax
jne 0x100139b28
mov r11, qword [rdi + 0x20]
mov rbp, qword [rdi + 0x18]
mov eax, dword [rsp + 0x1b0]
mov r10d, ebx
mov r8, rbx
mov rdx, rbx
lea r15d, [r13 + 1]
cmp r12d, 4
jae 0x100139bf0
cmp dword [rsp + r8 + 0x90], ebx
jne 0x100139be0
mov eax, dword [rsp + r8 + 0x50]
mov r9, qword [r11 + rax*8]
mov eax, dword [r9 + 4]
mov rcx, qword [rbp + rax*8]
bt dword [rcx + 8], 8
jae 0x100139bd9
or eax, 0xffffffff
cmp dword [r9 + 8], eax
jne 0x100139bd9
movsd xmm0, qword [r9 + 0x20]
mov eax, dword [rsp + rsi + 0x50]
add r12d, r15d
mov dword [rsp + r8 + 0x50], eax
mulsd xmm0, qword [rsp + rdx + 0xf0]
mov qword [rsp + rdx + 0xf0], rbx
addsd xmm0, qword [rsp + rdx + 0xd0]
movsd qword [rsp + rdx + 0xd0], xmm0
mov eax, dword [rsp + 0x1b0]
add r10d, r15d
add r8, 4
add rdx, 8
cmp r10d, eax
jb 0x100139b72
mov r15, qword [rsp + 0x78]
mov r8, qword [rsp + 0x88]
mov ebp, 1
add rsi, 4
sub r15, rbp
mov r13d, 0xffffffff
mov qword [rsp + 0x78], r15
jne 0x100139ae4
movsd xmm6, qword [0x100038420]
mov r8d, dword [rsp + 0x1b0]
mov ecx, ebx
mov dword [rsp + 0x80], ebx
mov rax, rbx
mov qword [rsp + 0xa8], rbx
cmp dword [rsp + rax + 0x90], ebx
jne 0x10013a262
mov edx, dword [rsp + rax + 0x50]
mov r15, qword [rsp + 0x88]
mov ecx, ebp
mov eax, ebp
mov esi, ebx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x68], edx
mov r14d, ebx
mov r13d, ebx
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x30], ecx
mov r12, rbx
mov rbp, rbx
mov r8d, 1
cmp dword [rsp + r12 + 0x90], ebx
jne 0x100139d02
mov r8d, dword [rsp + r12 + 0x50]
mov rcx, rdi
call fcn.1001389b4
cmp eax, ebx
je 0x100139cf0
movsd xmm0, qword [rsp + rbp + 0xf0]
mov ecx, 1
add qword [rsp + 0x40], rcx
add esi, ecx
ucomisd xmm8, xmm0
jp 0x100139cb9
je 0x100139cbc
mov r14d, ecx
ucomisd xmm6, xmm0
jp 0x100139cc4
je 0x100139ccc
mov eax, ebx
mov dword [rsp + 0x3c], ebx
jmp 0x100139cd0
mov eax, dword [rsp + 0x3c]
ucomisd xmm7, qword [rsp + rbp + 0xd0]
jp 0x100139cdd
je 0x100139ce0
mov r13d, ecx
ucomisd xmm7, xmm0
jp 0x100139ce8
je 0x100139cf4
mov ecx, ebx
mov dword [rsp + 0x30], ebx
jmp 0x100139cf8
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x68]
mov r8d, 1
add r12, 4
add rbp, 8
sub r15, r8
jne 0x100139c80
cmp ecx, ebx
je 0x100139d1d
mov r14d, ebx
mov r13d, ebx
cmp r14d, ebx
je 0x100139d93
mov edx, esi
mov rcx, rdi
and edx, 0xfffff
cmp eax, ebx
je 0x100139d39
or edx, 0x10100000
jmp 0x100139d3f
or edx, 0x20500000
or eax, 0xffffffff
mov r9d, eax
mov r8d, eax
call fcn.10014f7dc
or r10d, 0xffffffff
mov edx, eax
mov dword [rsp + 0x38], eax
cmp eax, r10d
je 0x100138bec
mov r12, qword [rsp + 0x1c8]
mov ecx, eax
mov rax, qword [rdi + 0x28]
mov rbp, qword [rax + rcx*8]
mov rax, qword [r12 + 0x58]
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x70], rbp
cmp r13d, ebx
jne 0x100139dae
mov dword [rsp + 0x48], edx
mov r15, rbp
mov qword [rsp + 0x78], rbp
jmp 0x100139da9
mov r15, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov r12, qword [rsp + 0x1c8]
or r10d, 0xffffffff
cmp r13d, ebx
je 0x100139e07
mov edx, esi
mov r9d, r10d
mov r8d, r10d
and edx, 0xfffff
mov rcx, rdi
or edx, 0x20400000
call fcn.10014f7dc
or r10d, 0xffffffff
mov r8d, eax
mov dword [rsp + 0x48], r8d
cmp eax, r10d
je 0x100138bec
mov rcx, qword [rdi + 0x28]
mov r15, qword [rcx + r8*8]
mov rcx, qword [r12 + 0x58]
mov qword [r15 + 0x58], rcx
mov qword [rsp + 0x78], r15
cmp r14d, ebx
jne 0x100139e62
mov dword [rsp + 0x38], r8d
mov rbp, r15
mov qword [rsp + 0x70], r15
cmp r14d, ebx
jne 0x100139e62
cmp r13d, ebx
jne 0x100139e62
and esi, 0xfffff
mov r9d, r10d
mov r8d, r10d
bts esi, 0x1c
mov rcx, rdi
mov edx, esi
call fcn.10014f7dc
mov r8d, eax
or eax, 0xffffffff
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x38], r8d
cmp r8d, eax
je 0x100138bec
mov rax, qword [rdi + 0x28]
mov r15, qword [rax + r8*8]
mov rax, qword [r12 + 0x58]
mov qword [r15 + 0x58], rax
mov qword [rsp + 0x78], r15
mov rbp, r15
mov qword [rsp + 0x70], r15
mov r11, qword [rsp + 0x1a8]
movsxd r12, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x1b0]
movsxd rax, r14d
mov esi, ebx
mov dword [rsp + 0xa0], ebx
mov qword [rsp + 0x120], rax
movsxd rax, r13d
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x40]
mov r13, rbx
shl rax, 2
mov r14, rbx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
sub r11, rax
mov eax, 1
mov qword [rsp + 0xc8], r11
cmp dword [rsp + r14 + 0x90], ebx
jne 0x10013a234
mov r8d, dword [rsp + r14 + 0x50]
mov edx, dword [rsp + 0x68]
mov rcx, rdi
call fcn.1001389b4
cmp eax, ebx
je 0x10013a227
cmp r12, rbx
je 0x100139f17
movsd xmm0, qword [rsp + r13 + 0xd0]
mov edx, dword [rdi + 0x90]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
movsd qword [rsp + 0x20], xmm0
call fcn.10014f6f4
mov r8d, eax
or esi, 0xffffffff
cmp r8d, esi
je 0x100138bec
mov rax, qword [rdi + 0x20]
mov ecx, r8d
mov r12, qword [rax + rcx*8]
mov rax, qword [rbp + 8]
mov rcx, qword [rsp + 0x60]
mov dword [rcx + rax], r8d
movsxd rax, dword [rsp + 0x30]
cmp rax, rbx
je 0x100139f4a
mov dword [r12 + 0x34], r8d
cmp qword [rsp + 0x120], rbx
je 0x10013a072
movsxd rax, dword [rsp + 0x3c]
cmp rax, rbx
jne 0x100139f9f
movsd xmm0, qword [rsp + r13 + 0xf0]
mov edx, dword [rdi + 0x90]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
movsd qword [rsp + 0x20], xmm0
call fcn.10014f6f4
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rbp + 8]
mov dword [rdx + rcx], eax
mov rax, qword [rbp + 8]
cmp dword [rdx + rax], esi
je 0x100138bec
cmp qword [rsp + 0xc0], rbx
je 0x10013a115
mov edx, dword [rsp + 0xb4]
cmp edx, esi
jne 0x100139fce
mov rcx, qword [rsp + 0x1c0]
mov edx, dword [rcx]
mov dword [rsp + 0xb4], edx
lea eax, [rdx + 1]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x1b8]
mov ebp, edx
mov r8d, edx
mov r9d, dword [rcx + rbp*4]
movsd qword [rsp + 0x20], xmm7
lea eax, [r9 + 1]
mov dword [rcx + rbp*4], eax
mov edx, dword [rdi + 0xa0]
mov rcx, rdi
call fcn.10014f6f4
mov esi, eax
or eax, 0xffffffff
cmp esi, eax
je 0x100138bec
mov rax, qword [rsp + 0x1b8]
cmp dword [rax + rbp*4], 4
jbe 0x10013a029
lea r9, [0x100034f88]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.10013cf50
mov rax, qword [rdi + 0x20]
mov rcx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rdx, qword [rax + rsi*8]
mov eax, dword [rsp + 0xb8]
mov dword [rdx + 0x14], eax
mov eax, dword [rsp + 0xb0]
mov dword [rdx + 0x18], eax
mov eax, dword [r12]
and eax, 0xe000000
mov dword [rdx], eax
mov eax, dword [rsp + 0x38]
mov dword [rdx + 0x48], eax
mov rax, qword [r15 + 8]
mov dword [rcx + rax], esi
mov rax, qword [rbp + 0x18]
mov dword [rcx + rax], esi
or esi, 0xffffffff
cmp qword [rsp + 0xc0], rbx
je 0x10013a115
mov eax, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x10013a0c8
mov r8d, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x20]
mov ebp, 1
mov rcx, qword [rdx]
cmp r8d, dword [rcx + 4]
jne 0x10013a0b8
cmp dword [rcx + 8], esi
jne 0x10013a0b8
movsd xmm0, qword [rcx + 0x20]
ucomisd xmm0, qword [rsp + r13 + 0xd0]
jp 0x10013a0b8
je 0x10013a0c3
add eax, ebp
add rdx, 8
cmp eax, dword [rdi + 0xc]
jb 0x10013a097
mov rbp, qword [rsp + 0x70]
cmp eax, dword [rdi + 0xc]
jne 0x10013a106
movsd xmm0, qword [rsp + r13 + 0xd0]
mov edx, dword [rdi + 0x90]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
movsd qword [rsp + 0x20], xmm0
call fcn.10014f6f4
cmp eax, esi
je 0x100138bec
mov rcx, qword [rdi + 0x20]
mov edx, eax
mov rdx, qword [rcx + rdx*8]
mov dword [rdx + 0x34], eax
mov rcx, qword [r15 + 8]
mov r12, qword [rsp + 0x40]
mov dword [r12 + rcx], eax
jmp 0x10013a11a
mov r12, qword [rsp + 0x40]
movsxd rdx, dword [rsp + 0x34]
mov r8, qword [rsp + 0x1b8]
mov rcx, rdi
movsd qword [rsp + 0x20], xmm7
mov r9d, dword [r8 + rdx*4]
lea eax, [r9 + 1]
mov dword [r8 + rdx*4], eax
mov r8d, edx
mov edx, dword [rdi + 0xa0]
call fcn.10014f6f4
mov esi, eax
or eax, 0xffffffff
cmp esi, eax
je 0x100138bec
movsxd rcx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x1b8]
cmp dword [rdx + rcx*4], 4
jbe 0x10013a17e
lea r9, [0x100034f88]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.10013cf50
mov rax, qword [rdi + 0x20]
mov r11, qword [rsp + 0xc8]
mov r9, qword [rsp + 0x60]
mov rdx, qword [rax + rsi*8]
mov eax, dword [rsp + 0xb8]
lea r10, [rsp + r14 + 0x50]
mov dword [rdx + 0x14], eax
mov eax, dword [rsp + 0xb0]
mov r8d, 1
mov dword [rdx + 0x18], eax
mov rax, qword [rdi + 0x20]
mov ecx, dword [r11 + r10]
mov rcx, qword [rax + rcx*8]
mov dword [rsp + r14 + 0x90], r8d
mov eax, dword [rcx]
mov dword [rdx], eax
mov eax, dword [rsp + 0x48]
mov dword [rdx + 0x48], eax
mov rax, qword [r15 + 0x18]
mov dword [r9 + rax], esi
mov eax, dword [r11 + r10]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdx + rax*8]
mov rdx, qword [rdx + rsi*8]
mov eax, dword [rcx + 0x34]
mov dword [rdx + 0x34], eax
mov rax, qword [rdi + 0x20]
mov ecx, dword [r11 + r10]
mov rcx, qword [rax + rcx*8]
mov dword [rcx + 0x34], esi
mov rax, qword [r15 + 0x18]
mov esi, dword [rsp + 0xa0]
mov ecx, dword [r9 + rax]
add r9, 4
add r12, 4
mov qword [rsp + 0x40], r12
movsxd r12, dword [rsp + 0x30]
mov dword [r10], ecx
mov qword [rsp + 0x60], r9
mov r8d, dword [rsp + 0x1b0]
mov eax, 1
add esi, eax
add r13, 8
add r14, 4
mov dword [rsp + 0xa0], esi
cmp esi, r8d
jb 0x100139ec4
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x80]
mov ebp, 1
add ecx, ebp
add rax, 4
mov dword [rsp + 0x80], ecx
mov qword [rsp + 0xa8], rax
cmp ecx, r8d
jb 0x100139c3e
mov r9, qword [rsp + 0x1a8]
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x110]
sub rdx, r9
mov eax, dword [rdx + r9]
mov ecx, dword [rsp + rax*4 + 0x50]
mov dword [r9], ecx
add r9, 4
sub r8, rbp
jne 0x10013a29b
mov r8d, dword [rsp + 0x1b0]
mov ecx, ebx
lea rax, [rsp + 0x90]
cmp dword [rax], ebx
je 0x100138bec
add ecx, ebp
add rax, 4
cmp ecx, r8d
jb 0x10013a2c1
jmp 0x100138e8d
mov r11d, 1
mov ebx, r11d
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a8]
lea rdx, [rsp + 0x50]
call sub.msvcrt.dll_memcpy
mov eax, ebx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret