Function at 0x1402ba810
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, 0xb8
mov r14, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0xa0], rdx
mov eax, dword [rdi + 0x44]
mov dword [rsp + 0x6c], eax
test eax, eax
je 0x1402bbd84
mov rsi, qword [rdi + 0x28]
mov r12d, dword [rdi + 0x40]
mov qword [rsp + 0x70], rbx
mov r11, qword [rdi + 0x10]
mov r8d, dword [rdi + 0x58]
mov eax, dword [rdi + 0x48]
mov dword [rsp + 0x24], eax
mov eax, dword [rdi + 0x4c]
mov dword [rsp + 0x2c], eax
mov eax, dword [rdi + 0x50]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x54]
mov dword [rsp + 0x3c], eax
mov cl, byte [rdi + 2]
mov ebx, 0xffffffff
shl ebx, cl
mov cl, byte [rdi + 1]
movzx edx, byte [rdi]
mov ebp, 0x100
shl ebp, cl
mov eax, 0x100
mov dword [rsp + 0x84], edx
mov ecx, edx
shr eax, cl
not ebx
mov dword [rsp + 0x8c], ebx
sub ebp, eax
mov dword [rsp + 0x80], ebp
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + 0x20]
mov r10, qword [rdi + 0x30]
mov r15d, dword [rdi + 0x38]
mov r9d, dword [rdi + 0x3c]
mov rdx, r11
mov r11, rax
lea rax, [rdx - 0x1400]
mov qword [rsp + 0xa8], rax
lea rax, [rdx - 0xc00]
mov qword [rsp + 0xb0], rax
lea rax, [rdx + 0x100]
mov qword [rsp + 0x90], rax
lea rax, [rdx + 0x500]
mov qword [rsp + 0x98], rax
xor r13d, r13d
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x40], r11
mov eax, r12d
and eax, dword [rsp + 0x8c]
shl eax, 4
lea edi, [rax + r8]
cmp r15d, 0xffffff
ja 0x1402ba94e
shl r15d, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov ebp, dword [rdx + rdi*4 - 0x400]
mov ebx, r15d
shr ebx, 0xb
imul ebx, ebp
mov ecx, r9d
sub ecx, ebx
mov qword [rsp + 0x58], rsi
jae 0x1402baa37
mov eax, 0x800
sub eax, ebp
shr eax, 5
add eax, ebp
mov dword [rdx + rdi*4 - 0x400], eax
mov eax, r12d
or eax, dword [rsp + 0x6c]
mov r14, qword [rsp + 0x98]
je 0x1402ba9cf
mov eax, r12d
shl eax, 8
mov rcx, qword [rsp + 0x58]
test rcx, rcx
cmove rcx, r11
mov rdx, qword [rsp + 0x50]
movzx edx, byte [rcx + rdx - 1]
or edx, eax
and edx, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x84]
shl edx, cl
lea eax, [rdx + rdx*2]
mov rcx, qword [rsp + 0x98]
lea r14, [rcx + rax*4]
cmp r8d, 6
mov dword [rsp + 0x88], r12d
ja 0x1402bab33
sub r8d, 3
mov eax, 0
cmovb r8d, eax
cmp ebx, 0xffffff
ja 0x1402baa0a
shl ebx, 8
shl r9d, 8
movzx eax, byte [r10]
inc r10
or eax, r9d
mov r9d, eax
mov ebp, dword [r14 + 4]
mov edx, ebx
shr edx, 0xb
imul edx, ebp
mov edi, r9d
sub edi, edx
jae 0x1402bad46
mov ecx, 0x800
sub ecx, ebp
shr ecx, 5
add ecx, ebp
mov eax, 2
jmp 0x1402bad5b
sub r15d, ebx
mov edx, ebp
shr edx, 5
sub ebp, edx
mov r11, qword [rsp + 0x30]
mov dword [r11 + rdi*4 - 0x400], ebp
cmp r15d, 0xffffff
ja 0x1402baa6c
shl r15d, 8
shl ecx, 8
movzx edx, byte [r10]
inc r10
or ecx, edx
mov r11, qword [rsp + 0x30]
mov ebp, r8d
mov edx, dword [r11 + rbp*4 + 0x40]
mov esi, r15d
shr esi, 0xb
imul esi, edx
mov r9d, ecx
sub r9d, esi
jae 0x1402babc7
mov ebx, 0x800
sub ebx, edx
shr ebx, 5
add ebx, edx
mov dword [r11 + rbp*4 + 0x40], ebx
add r8d, 0xc
mov qword [rsp + 0x48], r8
mov rbp, qword [rsp + 0xb0]
mov r11, qword [rsp + 0x40]
mov edx, dword [rbp]
cmp esi, 0xffffff
ja 0x1402baaca
shl esi, 8
shl ecx, 8
movzx ebx, byte [r10]
inc r10
or ecx, ebx
mov ebx, esi
shr ebx, 0xb
imul ebx, edx
mov edi, ecx
sub edi, ebx
jae 0x1402bacb5
mov edi, 0x800
sub edi, edx
shr edi, 5
add edi, edx
mov dword [rbp], edi
cmp ebx, 0xffffff
ja 0x1402bab02
shl ebx, 8
shl ecx, 8
movzx edx, byte [r10]
inc r10
or ecx, edx
mov r11d, eax
mov edi, dword [rbp + r11*4 + 4]
mov edx, ebx
shr edx, 0xb
imul edx, edi
mov eax, ecx
sub eax, edx
jae 0x1402bb408
mov esi, 0x800
sub esi, edi
shr esi, 5
add esi, edi
mov r9d, 2
jmp 0x1402bb41d
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov eax, 0
cmovb rax, r11
add rax, rcx
mov rcx, qword [rsp + 0x50]
movzx r15d, byte [rcx + rax]
cmp r8d, 0xa
setb byte [rsp + 0x3b]
lea eax, [r15 + r15]
and eax, 0x100
cmp ebx, 0xffffff
ja 0x1402bab83
shl ebx, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov ecx, dword [r14 + rax*4 + 0x404]
mov edx, ebx
shr edx, 0xb
imul edx, ecx
mov ebp, r9d
sub ebp, edx
mov qword [rsp + 0x48], r8
jae 0x1402badab
mov ebp, 0x800
sub ebp, ecx
shr ebp, 5
add ebp, ecx
mov dword [r14 + rax*4 + 0x404], ebp
xor eax, 0x100
mov r12d, 2
jmp 0x1402badc7
sub r15d, esi
mov ecx, edx
shr ecx, 5
sub edx, ecx
mov dword [r11 + rbp*4 + 0x40], edx
cmp r15d, 0xffffff
mov rdx, r11
ja 0x1402babf7
shl r15d, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov r11, qword [rsp + 0x40]
mov ebx, dword [rdx + rbp*4 + 0x70]
mov esi, r15d
shr esi, 0xb
imul esi, ebx
mov ecx, r9d
sub ecx, esi
jae 0x1402bae24
mov ecx, 0x800
sub ecx, ebx
shr ecx, 5
add ecx, ebx
mov dword [rdx + rbp*4 + 0x70], ecx
cmp esi, 0xffffff
ja 0x1402bac40
shl esi, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov ebp, dword [rdx + rdi*4 - 0x1800]
mov r15d, esi
shr r15d, 0xb
imul r15d, ebp
mov ecx, r9d
sub ecx, r15d
jae 0x1402bb9a4
mov eax, 0x800
sub eax, ebp
shr eax, 5
add eax, ebp
mov dword [rdx + rdi*4 - 0x1800], eax
mov eax, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
sub rcx, rax
mov eax, 0
cmovb rax, r11
add rax, rcx
mov rcx, qword [rsp + 0x50]
mov al, byte [rcx + rax]
mov byte [rcx + rsi], al
inc rsi
xor eax, eax
cmp r8d, 7
setae al
lea r8d, [rax + rax]
add r8d, 9
mov edi, 1
jmp 0x1402bb99a
sub esi, ebx
mov ecx, edx
shr ecx, 5
sub edx, ecx
mov dword [rbp], edx
cmp esi, 0xffffff
ja 0x1402bacd8
shl esi, 8
shl edi, 8
movzx ecx, byte [r10]
inc r10
or edi, ecx
mov edx, dword [rbp + 0x20]
mov ecx, esi
shr ecx, 0xb
imul ecx, edx
mov r9d, edi
sub r9d, ecx
jae 0x1402bb475
mov ebx, 0x800
sub ebx, edx
shr ebx, 5
add ebx, edx
mov dword [rbp + 0x20], ebx
cmp ecx, 0xffffff
ja 0x1402bad15
shl ecx, 8
shl edi, 8
movzx edx, byte [r10]
inc r10
or edi, edx
mov r11d, eax
mov ebx, dword [rbp + r11*4 + 0x24]
mov edx, ecx
shr edx, 0xb
imul edx, ebx
mov eax, edi
sub eax, edx
jae 0x1402bba27
mov esi, 0x800
sub esi, ebx
shr esi, 5
add esi, ebx
mov r9d, 2
jmp 0x1402bba3c
sub ebx, edx
mov eax, ebp
shr eax, 5
sub ebp, eax
mov eax, 3
mov ecx, ebp
mov edx, ebx
mov r9d, edi
mov dword [r14 + 4], ecx
cmp edx, 0xffffff
ja 0x1402bad7b
shl edx, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov ecx, eax
mov ebp, dword [r14 + rcx*4]
mov eax, edx
shr eax, 0xb
imul eax, ebp
mov ebx, r9d
sub ebx, eax
jae 0x1402bae8f
mov edx, 0x800
sub edx, ebp
shr edx, 5
add edx, ebp
mov dword [r14 + rcx*4], edx
add ecx, ecx
jmp 0x1402baea5
sub ebx, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov dword [r14 + rax*4 + 0x404], ecx
mov r12d, 3
mov edx, ebx
mov r9d, ebp
lea ebx, [r15*4]
and ebx, eax
lea esi, [rax + r12]
add esi, ebx
mov ecx, dword [r14 + rsi*4]
cmp edx, 0xffffff
ja 0x1402badf7
shl edx, 8
shl r9d, 8
movzx ebp, byte [r10]
inc r10
or ebp, r9d
mov r9d, ebp
mov edi, edx
shr edi, 0xb
imul edi, ecx
mov ebp, r9d
sub ebp, edi
jae 0x1402baef0
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov dword [r14 + rsi*4], edx
add r12d, r12d
xor ebx, eax
jmp 0x1402baf08
sub r15d, esi
mov edx, ebx
shr edx, 5
sub ebx, edx
mov rdi, qword [rsp + 0x30]
mov dword [rdi + rbp*4 + 0x70], ebx
cmp r15d, 0xffffff
ja 0x1402bae55
shl r15d, 8
shl ecx, 8
movzx edx, byte [r10]
inc r10
or ecx, edx
mov rdi, qword [rsp + 0x30]
mov ebx, dword [rdi + rbp*4 + 0xa0]
mov esi, r15d
shr esi, 0xb
imul esi, ebx
mov edx, ecx
sub edx, esi
jae 0x1402bb9c9
mov edx, 0x800
sub edx, ebx
shr edx, 5
add edx, ebx
mov dword [rdi + rbp*4 + 0xa0], edx
mov ebp, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x28]
jmp 0x1402bbbdf
sub edx, eax
mov eax, ebp
shr eax, 5
sub ebp, eax
mov dword [r14 + rcx*4], ebp
add ecx, ecx
inc ecx
mov eax, edx
mov r9d, ebx
mov ebp, ecx
mov ebx, dword [r14 + rbp*4]
cmp eax, 0xffffff
ja 0x1402baec6
shl eax, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov edx, eax
shr edx, 0xb
imul edx, ebx
mov ecx, r9d
sub ecx, edx
jae 0x1402baf5e
mov eax, 0x800
sub eax, ebx
shr eax, 5
add eax, ebx
mov dword [r14 + rbp*4], eax
add ebp, ebp
jmp 0x1402baf74
sub edx, edi
mov eax, ecx
shr eax, 5
sub ecx, eax
mov dword [r14 + rsi*4], ecx
add r12d, r12d
inc r12d
mov edi, edx
mov r9d, ebp
lea eax, [r15*8]
and eax, ebx
lea esi, [rbx + r12]
add esi, eax
mov ecx, dword [r14 + rsi*4]
cmp edi, 0xffffff
ja 0x1402baf38
shl edi, 8
shl r9d, 8
movzx edx, byte [r10]
inc r10
or edx, r9d
mov r9d, edx
mov edx, edi
shr edx, 0xb
imul edx, ecx
mov ebp, r9d
sub ebp, edx
jae 0x1402bafc0
mov ebp, 0x800
sub ebp, ecx
shr ebp, 5
add ebp, ecx
mov dword [r14 + rsi*4], ebp
add r12d, r12d
xor eax, ebx
jmp 0x1402bafd8
sub eax, edx
mov edx, ebx
shr edx, 5
sub ebx, edx
mov dword [r14 + rbp*4], ebx
add ebp, ebp
inc ebp
mov edx, eax
mov r9d, ecx
mov ebp, ebp
mov ebx, dword [r14 + rbp*4]
cmp edx, 0xffffff
ja 0x1402baf96
shl edx, 8
shl r9d, 8
movzx eax, byte [r10]
inc r10
or eax, r9d
mov r9d, eax
mov eax, edx
shr eax, 0xb
imul eax, ebx
mov ecx, r9d
sub ecx, eax
jae 0x1402bb02c
mov ecx, 0x800
sub ecx, ebx
shr ecx, 5
add ecx, ebx
mov dword [r14 + rbp*4], ecx
add ebp, ebp
jmp 0x1402bb042
sub edi, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov dword [r14 + rsi*4], ecx
add r12d, r12d
inc r12d
mov edx, edi
mov r9d, ebp
mov edi, r15d
shl edi, 4
and edi, eax
lea ebx, [rax + r12]
add ebx, edi
mov ecx, dword [r14 + rbx*4]
cmp edx, 0xffffff
ja 0x1402bb006
shl edx, 8
shl r9d, 8
movzx ebp, byte [r10]
inc r10
or ebp, r9d
mov r9d, ebp
mov esi, edx
shr esi, 0xb
imul esi, ecx
mov ebp, r9d
sub ebp, esi
jae 0x1402bb08d
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov dword [r14 + rbx*4], edx
add r12d, r12d
xor edi, eax
jmp 0x1402bb0a5
sub edx, eax
mov eax, ebx
shr eax, 5
sub ebx, eax
mov dword [r14 + rbp*4], ebx
add ebp, ebp
inc ebp
mov eax, edx
mov r9d, ecx
mov ebp, ebp
mov ebx, dword [r14 + rbp*4]
cmp eax, 0xffffff
ja 0x1402bb063
shl eax, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov edx, eax
shr edx, 0xb
imul edx, ebx
mov ecx, r9d
sub ecx, edx
jae 0x1402bb0f9
mov eax, 0x800
sub eax, ebx
shr eax, 5
add eax, ebx
mov dword [r14 + rbp*4], eax
add ebp, ebp
jmp 0x1402bb10f
sub edx, esi
mov eax, ecx
shr eax, 5
sub ecx, eax
mov dword [r14 + rbx*4], ecx
add r12d, r12d
inc r12d
mov esi, edx
mov r9d, ebp
mov ebx, r15d
shl ebx, 5
and ebx, edi
lea edx, [rdi + r12]
add edx, ebx
mov ecx, dword [r14 + rdx*4]
cmp esi, 0xffffff
ja 0x1402bb0d3
shl esi, 8
shl r9d, 8
movzx eax, byte [r10]
inc r10
or eax, r9d
mov r9d, eax
mov eax, esi
shr eax, 0xb
imul eax, ecx
mov ebp, r9d
sub ebp, eax
jae 0x1402bb15b
mov ebp, 0x800
sub ebp, ecx
shr ebp, 5
add ebp, ecx
mov dword [r14 + rdx*4], ebp
add r12d, r12d
xor ebx, edi
jmp 0x1402bb173
sub eax, edx
mov edx, ebx
shr edx, 5
sub ebx, edx
mov dword [r14 + rbp*4], ebx
add ebp, ebp
inc ebp
mov edx, eax
mov r9d, ecx
mov ebp, ebp
mov ebx, dword [r14 + rbp*4]
cmp edx, 0xffffff
ja 0x1402bb131
shl edx, 8
shl r9d, 8
movzx eax, byte [r10]
inc r10
or eax, r9d
mov r9d, eax
mov eax, edx
shr eax, 0xb
imul eax, ebx
mov ecx, r9d
sub ecx, eax
jae 0x1402bb1ca
mov ecx, 0x800
sub ecx, ebx
shr ecx, 5
add ecx, ebx
mov dword [r14 + rbp*4], ecx
add ebp, ebp
jmp 0x1402bb1e0
sub esi, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov dword [r14 + rdx*4], ecx
add r12d, r12d
inc r12d
mov eax, esi
mov r9d, ebp
mov r11d, r15d
shl r11d, 6
and r11d, ebx
lea esi, [rbx + r12]
add esi, r11d
mov ecx, dword [r14 + rsi*4]
cmp eax, 0xffffff
ja 0x1402bb1a3
shl eax, 8
shl r9d, 8
movzx edx, byte [r10]
inc r10
or edx, r9d
mov r9d, edx
mov edx, eax
shr edx, 0xb
imul edx, ecx
mov edi, r9d
sub edi, edx
jae 0x1402bb22b
mov eax, 0x800
sub eax, ecx
shr eax, 5
add eax, ecx
mov dword [r14 + rsi*4], eax
add r12d, r12d
xor r11d, ebx
jmp 0x1402bb243
sub edx, eax
mov eax, ebx
shr eax, 5
sub ebx, eax
mov dword [r14 + rbp*4], ebx
add ebp, ebp
inc ebp
mov eax, edx
mov r9d, ecx
mov ebp, ebp
mov ebx, dword [r14 + rbp*4]
cmp eax, 0xffffff
ja 0x1402bb201
shl eax, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov edx, eax
shr edx, 0xb
imul edx, ebx
mov ecx, r9d
sub ecx, edx
jae 0x1402bb2a0
mov eax, 0x800
sub eax, ebx
shr eax, 5
add eax, ebx
mov dword [r14 + rbp*4], eax
add ebp, ebp
jmp 0x1402bb2b6
sub eax, edx
mov edx, ecx
shr edx, 5
sub ecx, edx
mov dword [r14 + rsi*4], ecx
add r12d, r12d
inc r12d
mov edx, eax
mov r9d, edi
mov edi, r15d
shl edi, 7
and edi, r11d
lea esi, [r11 + r12]
add esi, edi
mov ecx, dword [r14 + rsi*4]
cmp edx, 0xffffff
ja 0x1402bb272
shl edx, 8
shl r9d, 8
movzx eax, byte [r10]
inc r10
or eax, r9d
mov r9d, eax
mov eax, edx
shr eax, 0xb
imul eax, ecx
mov ebx, r9d
sub ebx, eax
jae 0x1402bb308
mov edx, 0x800
sub edx, ecx
shr edx, 5
add edx, ecx
mov dword [r14 + rsi*4], edx
add r12d, r12d
xor edi, r11d
jmp 0x1402bb320
sub eax, edx
mov edx, ebx
shr edx, 5
sub ebx, edx
mov dword [r14 + rbp*4], ebx
add ebp, ebp
inc ebp
mov edx, eax
mov r9d, ecx
mov eax, ebp
mov ebx, dword [r14 + rax*4]
cmp edx, 0xffffff
ja 0x1402bb2d8
shl edx, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov r15d, edx
shr r15d, 0xb
imul r15d, ebx
mov ecx, r9d
sub ecx, r15d
jae 0x1402bb390
mov ecx, 0x800
sub ecx, ebx
shr ecx, 5
add ecx, ebx
mov dword [r14 + rax*4], ecx
lea r12d, [rax + rax]
jmp 0x1402bb3c4
sub edx, eax
mov eax, ecx
shr eax, 5
sub ecx, eax
mov dword [r14 + rsi*4], ecx
add r12d, r12d
inc r12d
mov eax, edx
mov r9d, ebx
mov r11, qword [rsp + 0x40]
shl r15d, 8
and r15d, edi
add edi, r12d
add edi, r15d
mov ebp, dword [r14 + rdi*4]
cmp eax, 0xffffff
mov r8, qword [rsp + 0x48]
ja 0x1402bb356
shl eax, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
xor ecx, ecx
mov dl, byte [rsp + 0x3b]
mov cl, dl
lea ecx, [rcx + rcx*2]
add r8d, ecx
add r8d, 0xfffffffa
mov r15d, eax
shr r15d, 0xb
imul r15d, ebp
mov ecx, r9d
sub ecx, r15d
jae 0x1402bb3aa
mov eax, 0x800
sub eax, ebp
shr eax, 5
add eax, ebp
mov dword [r14 + rdi*4], eax
add r12d, r12d
jmp 0x1402bb3c4
sub edx, r15d
mov ebp, ebx
shr ebp, 5
sub ebx, ebp
mov dword [r14 + rax*4], ebx
lea r12d, [rax + rax]
inc r12d
mov r15d, edx
jmp 0x1402bb3c1
sub eax, r15d
mov edx, ebp
shr edx, 5
sub ebp, edx
mov dword [r14 + rdi*4], ebp
add r12d, r12d
inc r12d
mov r15d, eax
mov r9d, ecx
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov byte [rax + rsi], r12b
inc rsi
mov edi, 1
mov r14, qword [rsp + 0x60]
mov r12d, dword [rsp + 0x88]
add r12d, edi
cmp rsi, qword [rsp + 0x70]
jae 0x1402bbdf9
cmp r10, r14
jb 0x1402ba91f
jmp 0x1402bbdf9
sub ebx, edx
mov ecx, edi
shr ecx, 5
sub edi, ecx
mov r9d, 3
mov esi, edi
mov edx, ebx
mov ecx, eax
lea rax, [r11*4]
add rax, rbp
mov dword [rax + 4], esi
cmp edx, 0xffffff
ja 0x1402bb442
shl edx, 8
shl ecx, 8
movzx ebp, byte [r10]
inc r10
or ecx, ebp
mov r11, qword [rsp + 0x40]
mov ebx, r9d
mov edi, dword [rax + rbx*4]
mov ebp, edx
shr ebp, 0xb
imul ebp, edi
mov esi, ecx
sub esi, ebp
jae 0x1402bb510
mov edx, 0x800
sub edx, edi
shr edx, 5
add edx, edi
mov dword [rax + rbx*4], edx
add ebx, ebx
jmp 0x1402bb524
sub esi, ecx
mov eax, edx
shr eax, 5
sub edx, eax
mov dword [rbp + 0x20], edx
mov r13d, 1
mov r15d, esi
mov r8, qword [rsp + 0x48]
cmp r15d, 0xffffff
ja 0x1402bb4aa
shl r15d, 8
shl r9d, 8
movzx eax, byte [r10]
inc r10
or r9d, eax
mov eax, r15d
mov ecx, r13d
mov edi, dword [rbp + rcx*4 + 0x400]
shr r15d, 0xb
imul r15d, edi
mov ebx, r9d
sub ebx, r15d
jae 0x1402bb4e0
mov eax, 0x800
sub eax, edi
shr eax, 5
add eax, edi
mov dword [rbp + rcx*4 + 0x400], eax
lea r13d, [rcx + rcx]
jmp 0x1402bb4fe
sub eax, r15d
mov edx, edi
shr edx, 5
sub edi, edx
mov dword [rbp + rcx*4 + 0x400], edi
lea r13d, [rcx + rcx]
inc r13d
mov r15d, eax
mov r9d, ebx
cmp r13d, 0x100
jb 0x1402bb48f
add r13d, 0xffffff10
jmp 0x1402bb58c
sub edx, ebp
mov ecx, edi
shr ecx, 5
sub edi, ecx
mov dword [rax + rbx*4], edi
add ebx, ebx
inc ebx
mov ebp, edx
mov ecx, esi
mov r8, qword [rsp + 0x48]
mov edx, ebx
mov ebx, dword [rax + rdx*4]
cmp ebp, 0xffffff
ja 0x1402bb545
shl ebp, 8
shl ecx, 8
movzx edi, byte [r10]
inc r10
or ecx, edi
mov r15d, ebp
shr r15d, 0xb
imul r15d, ebx
mov edi, ecx
sub edi, r15d
jae 0x1402bb56c
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov dword [rax + rdx*4], ebp
lea r13d, [rdx + rdx]
jmp 0x1402bb585
sub ebp, r15d
mov ecx, ebx
shr ecx, 5
sub ebx, ecx
mov dword [rax + rdx*4], ebx
lea r13d, [rdx + rdx]
inc r13d
mov r15d, ebp
mov ecx, edi
add r13d, 0xfffffff8
mov r9d, ecx
cmp r8d, 0xc
jb 0x1402bb5ef
cmp r13d, 3
mov eax, 3
cmovb eax, r13d
shl eax, 6
cmp r15d, 0xffffff
ja 0x1402bb5c0
shl r15d, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov rcx, qword [rsp + 0x90]
mov ebx, dword [rcx + rax*4 + 4]
mov ecx, r15d
shr ecx, 0xb
imul ecx, ebx
mov edi, r9d
sub edi, ecx
jae 0x1402bb61d
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov edx, 2
jmp 0x1402bb634
mov eax, dword [rsp + 0x24]
mov r14d, eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
jmp 0x1402bb8f7
sub r15d, ecx
mov ecx, ebx
shr ecx, 5
sub ebx, ecx
mov edx, 3
mov ebp, ebx
mov ecx, r15d
mov r9d, edi
mov rdi, qword [rsp + 0x90]
lea rax, [rdi + rax*4]
mov dword [rax + 4], ebp
cmp ecx, 0xffffff
ja 0x1402bb65f
shl ecx, 8
shl r9d, 8
movzx ebp, byte [r10]
inc r10
or ebp, r9d
mov r9d, ebp
mov ebp, edx
mov ebx, dword [rax + rbp*4]
mov edx, ecx
shr edx, 0xb
imul edx, ebx
mov edi, r9d
sub edi, edx
jae 0x1402bb686
mov ecx, 0x800
sub ecx, ebx
shr ecx, 5
add ecx, ebx
mov dword [rax + rbp*4], ecx
add ebp, ebp
jmp 0x1402bb69b
sub ecx, edx
mov edx, ebx
shr edx, 5
sub ebx, edx
mov dword [rax + rbp*4], ebx
add ebp, ebp
inc ebp
mov edx, ecx
mov r9d, edi
mov ebp, ebp
mov ebx, dword [rax + rbp*4]
cmp edx, 0xffffff
ja 0x1402bb6bc
shl edx, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov ecx, edx
shr ecx, 0xb
imul ecx, ebx
mov edi, r9d
sub edi, ecx
jae 0x1402bb6de
mov edx, 0x800
sub edx, ebx
shr edx, 5
add edx, ebx
mov dword [rax + rbp*4], edx
add ebp, ebp
jmp 0x1402bb6f3
sub edx, ecx
mov ecx, ebx
shr ecx, 5
sub ebx, ecx
mov dword [rax + rbp*4], ebx
add ebp, ebp
inc ebp
mov ecx, edx
mov r9d, edi
mov ebp, ebp
mov ebx, dword [rax + rbp*4]
cmp ecx, 0xffffff
ja 0x1402bb714
shl ecx, 8
shl r9d, 8
movzx edx, byte [r10]
inc r10
or edx, r9d
mov r9d, edx
mov edx, ecx
shr edx, 0xb
imul edx, ebx
mov edi, r9d
sub edi, edx
jae 0x1402bb736
mov ecx, 0x800
sub ecx, ebx
shr ecx, 5
add ecx, ebx
mov dword [rax + rbp*4], ecx
add ebp, ebp
jmp 0x1402bb74b
sub ecx, edx
mov edx, ebx
shr edx, 5
sub ebx, edx
mov dword [rax + rbp*4], ebx
add ebp, ebp
inc ebp
mov edx, ecx
mov r9d, edi
mov ebp, ebp
mov ebx, dword [rax + rbp*4]
cmp edx, 0xffffff
ja 0x1402bb76c
shl edx, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov ecx, edx
shr ecx, 0xb
imul ecx, ebx
mov edi, r9d
sub edi, ecx
jae 0x1402bb78e
mov edx, 0x800
sub edx, ebx
shr edx, 5
add edx, ebx
mov dword [rax + rbp*4], edx
add ebp, ebp
jmp 0x1402bb7a3
sub edx, ecx
mov ecx, ebx
shr ecx, 5
sub ebx, ecx
mov dword [rax + rbp*4], ebx
add ebp, ebp
inc ebp
mov ecx, edx
mov r9d, edi
mov edx, ebp
mov edi, dword [rax + rdx*4]
cmp ecx, 0xffffff
ja 0x1402bb7c4
shl ecx, 8
shl r9d, 8
movzx ebx, byte [r10]
inc r10
or ebx, r9d
mov r9d, ebx
mov r15d, ecx
shr r15d, 0xb
imul r15d, edi
mov ebx, r9d
sub ebx, r15d
jae 0x1402bb7eb
mov ecx, 0x800
sub ecx, edi
shr ecx, 5
add ecx, edi
mov dword [rax + rdx*4], ecx
lea eax, [rdx + rdx]
jmp 0x1402bb803
sub ecx, r15d
mov ebp, edi
shr ebp, 5
sub edi, ebp
mov dword [rax + rdx*4], edi
lea eax, [rdx + rdx]
inc eax
mov r15d, ecx
mov r9d, ebx
lea r14d, [rax - 0x40]
cmp r14d, 4
jb 0x1402bb8c4
mov ecx, r14d
shr ecx, 1
and eax, 1
or eax, 2
cmp r14d, 0xd
ja 0x1402bba94
dec ecx
shl eax, cl
inc eax
mov r11d, 1
cmp r15d, 0xffffff
ja 0x1402bb84d
shl r15d, 8
shl r9d, 8
movzx edx, byte [r10]
inc r10
or r9d, edx
mov edx, r15d
mov eax, eax
mov rbp, qword [rsp + 0x30]
mov esi, dword [rbp + rax*4 - 0x1a00]
shr r15d, 0xb
imul r15d, esi
mov edi, r9d
sub edi, r15d
jae 0x1402bb88d
mov edx, 0x800
sub edx, esi
shr edx, 5
add edx, esi
mov dword [rbp + rax*4 - 0x1a00], edx
mov edx, r11d
lea ebp, [r11 + r11]
mov r11d, ebp
jmp 0x1402bb8aa
sub edx, r15d
mov ebx, esi
shr ebx, 5
sub esi, ebx
mov dword [rbp + rax*4 - 0x1a00], esi
add r11d, r11d
mov r15d, edx
mov r9d, edi
mov edx, r11d
mov r8, qword [rsp + 0x48]
add eax, edx
dec ecx
jne 0x1402bb832
sub eax, r11d
mov r14d, eax
mov r11, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
xor eax, eax
cmp r8d, 0x13
setae cl
mov edx, dword [rsp + 0x6c]
test edx, edx
cmove edx, r12d
cmp r14d, edx
jae 0x1402bbdc8
inc r14d
mov al, cl
lea r8d, [rax + rax*2]
add r8d, 7
mov rdi, qword [rsp + 0x70]
sub rdi, rsi
je 0x1402bbdc3
add r13d, 2
cmp rdi, r13
cmovae edi, r13d
mov eax, r14d
mov rcx, rsi
sub rcx, rax
mov eax, 0
cmovb rax, r11
add rcx, rax
sub r13d, edi
mov rax, r11
sub rax, rcx
cmp rax, rdi
jae 0x1402bb95b
lea rbx, [rsi + rbp]
xor edx, edx
mov al, byte [rbp + rcx]
mov byte [rbx + rdx], al
inc rcx
cmp rcx, r11
mov eax, 0
cmove rcx, rax
inc rdx
cmp edi, edx
jne 0x1402bb939
add rsi, rdx
jmp 0x1402bb975
lea rdx, [rsi + rbp]
sub rcx, rsi
mov rax, rdi
mov bl, byte [rdx + rcx]
mov byte [rdx], bl
inc rdx
dec rax
jne 0x1402bb965
add rsi, rdi
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x2c], eax
mov eax, r14d
mov dword [rsp + 0x24], r14d
mov rdx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x60]
jmp 0x1402bb3ec
sub esi, r15d
mov rbx, rdx
mov edx, ebp
shr edx, 5
sub ebp, edx
mov dword [rbx + rdi*4 - 0x1800], ebp
mov ebp, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x28]
jmp 0x1402bbbe3
sub r15d, esi
mov ecx, ebx
shr ecx, 5
sub ebx, ecx
mov dword [rdi + rbp*4 + 0xa0], ebx
cmp r15d, 0xffffff
ja 0x1402bb9f3
shl r15d, 8
shl edx, 8
movzx ecx, byte [r10]
inc r10
or edx, ecx
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + rbp*4 + 0xd0]
mov esi, r15d
shr esi, 0xb
imul esi, ecx
mov edi, edx
sub edi, esi
jae 0x1402bbbae
mov ebx, 0x800
sub ebx, ecx
shr ebx, 5
add ebx, ecx
mov edi, dword [rsp + 0x28]
jmp 0x1402bbbcb
sub ecx, edx
mov edx, ebx
shr edx, 5
sub ebx, edx
mov r9d, 3
mov esi, ebx
mov edx, ecx
mov edi, eax
lea rax, [r11*4 + 0x20]
add rax, rbp
mov dword [rax + 4], esi
cmp edx, 0xffffff
ja 0x1402bba61
shl edx, 8
shl edi, 8
movzx ecx, byte [r10]
inc r10
or edi, ecx
mov r11, qword [rsp + 0x40]
mov ebp, r9d
mov ebx, dword [rax + rbp*4]
mov ecx, edx
shr ecx, 0xb
imul ecx, ebx
mov esi, edi
sub esi, ecx
jae 0x1402bbb2c
mov edx, 0x800
sub edx, ebx
shr edx, 5
add edx, ebx
mov dword [rax + rbp*4], edx
add ebp, ebp
jmp 0x1402bbb40
add ecx, 0xfffffffb
cmp r15d, 0xffffff
ja 0x1402bbaba
shl r15d, 8
shl r9d, 8
movzx ebp, byte [r10]
inc r10
or ebp, r9d
mov edx, r15d
mov r9d, ebp
jmp 0x1402bbabd
mov edx, r15d
shr r15d, 1
mov ebp, r9d
sub ebp, r15d
mov r9d, ebp
sar r9d, 0x1f
lea eax, [r9 + rax*2]
inc eax
and r9d, r15d
add r9d, ebp
dec ecx
jne 0x1402bba97
cmp edx, 0x1ffffff
ja 0x1402bbafa
shl r15d, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov rcx, qword [rsp + 0x30]
mov ebx, dword [rcx + 4]
mov ecx, r15d
shr ecx, 0xb
imul ecx, ebx
mov edi, r9d
sub edi, ecx
jae 0x1402bbc10
mov ebp, 0x800
sub ebp, ebx
shr ebp, 5
add ebp, ebx
mov edx, 2
jmp 0x1402bbc27
sub edx, ecx
mov ecx, ebx
shr ecx, 5
sub ebx, ecx
mov dword [rax + rbp*4], ebx
add ebp, ebp
inc ebp
mov ecx, edx
mov edi, esi
mov edx, ebp
mov esi, dword [rax + rdx*4]
cmp ecx, 0xffffff
ja 0x1402bbb5f
shl ecx, 8
shl edi, 8
movzx r9d, byte [r10]
inc r10
or r9d, edi
jmp 0x1402bbb62
mov r9d, edi
mov r15d, ecx
shr r15d, 0xb
imul r15d, esi
mov ebx, r9d
sub ebx, r15d
jae 0x1402bbb8a
mov ecx, 0x800
sub ecx, esi
shr ecx, 5
add ecx, esi
mov dword [rax + rdx*4], ecx
lea r13d, [rdx + rdx]
jmp 0x1402bbba4
sub ecx, r15d
mov ebp, esi
shr ebp, 5
sub esi, ebp
mov dword [rax + rdx*4], esi
lea r13d, [rdx + rdx]
inc r13d
mov r15d, ecx
mov r9d, ebx
mov r8, qword [rsp + 0x48]
jmp 0x1402bb58c
sub r15d, esi
mov edx, ecx
shr edx, 5
sub ecx, edx
mov ebx, ecx
mov ecx, dword [rsp + 0x28]
mov esi, r15d
mov edx, edi
mov edi, dword [rsp + 0x3c]
mov dword [rsp + 0x3c], ecx
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rbp*4 + 0xd0], ebx
mov ebp, edi
mov ecx, edx
mov edx, dword [rsp + 0x2c]
mov ebx, dword [rsp + 0x24]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x2c], ebx
xor edx, edx
cmp r8d, 7
setae dl
lea edx, [rdx + rdx*2]
or edx, 8
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x24], ebp
mov rbp, qword [rsp + 0xa8]
jmp 0x1402baab0
sub r15d, ecx
mov ecx, ebx
shr ecx, 5
sub ebx, ecx
mov edx, 3
mov ebp, ebx
mov ecx, r15d
mov r9d, edi
mov rbx, qword [rsp + 0x30]
mov dword [rbx + 4], ebp
cmp ecx, 0xffffff
ja 0x1402bbc4b
shl ecx, 8
shl r9d, 8
movzx ebp, byte [r10]
inc r10
or ebp, r9d
mov r9d, ebp
mov ebp, edx
mov rsi, qword [rsp + 0x30]
mov ebx, dword [rsi + rbp*4]
mov edx, ecx
shr edx, 0xb
imul edx, ebx
mov edi, r9d
sub edi, edx
jae 0x1402bbc7d
mov r15, qword [rsp + 0x58]
mov ecx, 0x800
sub ecx, ebx
shr ecx, 5
add ecx, ebx
mov dword [rsi + rbp*4], ecx
add ebp, 2
jmp 0x1402bbc96
mov r15, qword [rsp + 0x58]
sub ecx, edx
mov edx, ebx
shr edx, 5
sub ebx, edx
mov dword [rsi + rbp*4], ebx
add ebp, 4
mov edx, ecx
mov r9d, edi
mov r11d, ebp
mov esi, dword [rsi + r11*4]
cmp edx, 0xffffff
ja 0x1402bbcb9
shl edx, 8
shl r9d, 8
movzx ecx, byte [r10]
inc r10
or ecx, r9d
mov r9d, ecx
mov ecx, edx
shr ecx, 0xb
imul ecx, esi
mov ebx, r9d
sub ebx, ecx
jae 0x1402bbcdc
mov edi, 0x800
sub edi, esi
shr edi, 5
add edi, esi
mov r14d, 4
jmp 0x1402bbcf2
sub edx, ecx
mov ecx, esi
shr ecx, 5
sub esi, ecx
mov r14d, 8
mov edi, esi
mov ecx, edx
mov r9d, ebx
mov rdx, qword [rsp + 0x30]
mov dword [rdx + r11*4], edi
add r14d, r11d
mov edi, dword [rdx + r14*4]
cmp ecx, 0xffffff
mov r8, qword [rsp + 0x48]
ja 0x1402bbd23
shl ecx, 8
shl r9d, 8
movzx ebx, byte [r10]
inc r10
or ebx, r9d
mov r9d, ebx
mov rsi, r15
mov r11, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
shl eax, 4
mov r15d, ecx
shr r15d, 0xb
imul r15d, edi
mov ebx, r9d
sub ebx, r15d
jae 0x1402bbd5c
mov ecx, 0x800
sub ecx, edi
shr ecx, 5
add ecx, edi
mov dword [rdx + r14*4], ecx
add r14d, 0xfffffff8
jmp 0x1402bbd75
sub ecx, r15d
mov edx, edi
shr edx, 5
sub edi, edx
mov rdx, qword [rsp + 0x30]
mov dword [rdx + r14*4], edi
mov r15d, ecx
mov r9d, ebx
or r14d, eax
cmp r14d, 0xffffffff
jne 0x1402bb8ce
jmp 0x1402bbdea
mov eax, dword [rdi + 4]
mov r12d, dword [rdi + 0x40]
sub eax, r12d
mov rsi, qword [rdi + 0x28]
mov rcx, rbx
sub rcx, rsi
lea rdx, [rsi + rax]
cmp rcx, rax
cmovbe rdx, rbx
mov qword [rsp + 0x70], rdx
test r12d, r12d
jne 0x1402ba85a
xor r12d, r12d
cmp dword [rdi + 0x3c], 0xbffffbff
jbe 0x1402ba85a
jmp 0x1402bbdd1
mov rsi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x28], rsi
mov eax, 1
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add r8d, 0xfffffff4
mov r13d, 0x112
mov r14, qword [rsp + 0x60]
cmp r15d, 0xffffff
ja 0x1402bbe17
shl r15d, 8
shl r9d, 8
movzx eax, byte [r10]
inc r10
or eax, r9d
mov r9d, eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x24]
mov ebp, dword [rsp + 0x28]
mov rdi, qword [rsp + 0x78]
mov qword [rdi + 0x30], r10
mov dword [rdi + 0x38], r15d
mov dword [rdi + 0x3c], r9d
mov dword [rdi + 0x5c], r13d
mov qword [rdi + 0x28], rsi
mov dword [rdi + 0x40], r12d
mov dword [rdi + 0x48], ecx
mov dword [rdi + 0x4c], eax
mov dword [rdi + 0x50], ebp
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], r8d
cmp dword [rdi + 0x44], 0
jne 0x1402bbe65
mov eax, dword [rdi + 4]
cmp r12d, eax
jb 0x1402bbe65
mov dword [rdi + 0x44], eax
mov rcx, rdi
mov rbx, qword [rsp + 0xa0]
mov rdx, rbx
call fcn.1402ba160
xor eax, eax
cmp qword [rdi + 0x28], rbx
jae 0x1402bbdd6
cmp qword [rdi + 0x30], r14
jae 0x1402bbdd6
cmp dword [rdi + 0x5c], 0x112
jb 0x1402ba83e
jmp 0x1402bbdd6