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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [rcx]
mov r15, rcx
xor ecx, ecx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x54], ecx
mov r13d, r9d
mov dword [rsp + 0x50], ecx
mov rbx, r8
mov r14, rdx
mov r12d, ecx
test r8, r8
je 0x140187c59
cmp qword [r15 + 0x180], rcx
jne 0x140187c59
cmp qword [r8 + 0x68], rcx
jne 0x140187c59
mov rcx, r15
call fcn.140151930
test rax, rax
jne 0x140187c59
cmp dword [r14 + 0x54], r12d
jne 0x140187c59
cmp r13d, 0xb
jne 0x140187a03
cmp word [r14 + 0x44], r12w
jl 0x1401879fd
movzx r13d, byte [r14 + 0x4e]
cmp r13d, 0xb
jne 0x140187a03
mov r13d, 2
mov r8, qword [rbx + 0x28]
cmp dword [r8], 1
jne 0x140187c59
cmp qword [r8 + 0x30], r12
jne 0x140187c59
cmp qword [rbx + 0x30], r12
jne 0x140187c59
cmp qword [rbx + 0x48], r12
jne 0x140187c59
cmp qword [rbx + 0x38], r12
jne 0x140187c59
cmp qword [rbx + 0x60], r12
jne 0x140187c59
cmp qword [rbx + 0x50], r12
jne 0x140187c59
test byte [rbx + 4], 1
jne 0x140187c59
mov rax, qword [rbx + 0x20]
cmp dword [rax], 1
jne 0x140187c59
mov rax, qword [rax + 8]
cmp byte [rax], 0xb3
jne 0x140187c59
add r8, 8
xor edx, edx
mov rcx, r15
call fcn.14013da40
mov qword [rsp + 0x40], rax
mov rdx, rax
test rax, rax
je 0x140187c59
mov ecx, dword [r14 + 0x38]
cmp dword [rax + 0x38], ecx
jne 0x140187aa7
mov rcx, qword [r14 + 0x70]
cmp qword [rax + 0x70], rcx
je 0x140187c59
mov eax, dword [rax + 0x40]
mov ecx, dword [r14 + 0x40]
shr ecx, 7
shr eax, 7
not ecx
not eax
xor ecx, eax
test cl, 1
jne 0x140187c59
cmp dword [rdx + 0x54], r12d
jne 0x140187c59
cmp qword [rdx + 0x18], r12
jne 0x140187c59
movzx ecx, word [r14 + 0x46]
cmp cx, word [rdx + 0x46]
jne 0x140187c59
movzx eax, word [rdx + 0x44]
cmp word [r14 + 0x44], ax
jne 0x140187c59
xor r10d, r10d
lea r11, [0x140237d20]
mov r15d, r10d
cmp r10w, cx
jge 0x140187c14
mov ebp, r10d
mov esi, r10d
mov rbx, qword [r14 + 8]
mov rdi, qword [rdx + 8]
add rbx, rsi
add rdi, rsi
movzx ecx, word [rbx + 0x1c]
movzx eax, word [rdi + 0x1c]
and cx, 0x60
and ax, 0x60
cmp cx, ax
jne 0x140187c59
test cx, cx
je 0x140187b65
mov r8, qword [rbx + 8]
mov r9d, 0xffffffff
mov rdx, qword [rdi + 8]
xor ecx, ecx
call fcn.14012fa60
test eax, eax
jne 0x140187c59
xor r10d, r10d
lea r11, [0x140237d20]
movzx eax, byte [rdi + 0x19]
cmp byte [rbx + 0x19], al
jne 0x140187c59
mov r8, qword [rbx + 0x10]
mov r9, qword [rdi + 0x10]
test r8, r8
jne 0x140187c73
neg r9
sbb edx, edx
test edx, edx
jne 0x140187c59
cmp byte [rbx + 0x18], r12b
je 0x140187ba0
cmp byte [rdi + 0x18], r12b
je 0x140187c59
test byte [rbx + 0x1c], 0x60
jne 0x140187bf7
test rbp, rbp
jle 0x140187bf7
mov r8, qword [rdi + 8]
mov ecx, r10d
mov rdx, qword [rbx + 8]
test r8, r8
mov eax, r10d
sete cl
test rdx, rdx
sete al
cmp eax, ecx
jne 0x140187c59
test rdx, rdx
je 0x140187bf7
mov rax, qword [rdx + 8]
mov r8, qword [r8 + 8]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140187bf3
inc rax
test ecx, ecx
jne 0x140187be0
test edx, edx
jne 0x140187c59
movsx eax, word [r14 + 0x46]
inc r15d
mov rdx, qword [rsp + 0x40]
inc rbp
add rsi, 0x20
cmp r15d, eax
jl 0x140187b12
mov rdi, qword [r14 + 0x10]
mov eax, 1
test rdi, rdi
je 0x140187cfa
nop word [rax + rax]
cmp byte [rdi + 0x62], 0
mov rbx, qword [rdx + 0x10]
cmovne r12d, eax
test rbx, rbx
je 0x140187c59
mov rdx, rbx
mov rcx, rdi
call fcn.140187810
test eax, eax
jne 0x140187cb1
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140187c41
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test r9, r9
je 0x140187c59
sub r9, r8
nop dword [rax + rax]
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x140187c9a
test edx, edx
je 0x140187b90
inc r8
jmp 0x140187c80
movzx ecx, byte [rax + r11]
movzx edx, byte [rdx + r11]
sub edx, ecx
jne 0x140187b88
inc r8
jmp 0x140187c80
mov eax, dword [rdi + 0x58]
mov rdx, qword [rsp + 0x40]
cmp dword [rbx + 0x58], eax
jne 0x140187ce8
mov rax, qword [r14 + 0x70]
cmp qword [rdx + 0x70], rax
jne 0x140187ce8
mov rax, qword [0x1402b6408]
test rax, rax
je 0x140187c59
mov ecx, 0x19b
call rax
test eax, eax
je 0x140187c59
mov rdx, qword [rsp + 0x40]
mov rdi, qword [rdi + 0x28]
mov eax, 1
test rdi, rdi
jne 0x140187c30
mov rax, qword [r14 + 0x30]
test rax, rax
je 0x140187d64
mov rsi, qword [rdx + 0x30]
test rsi, rsi
je 0x140187c59
mov ecx, dword [rsi]
cmp ecx, dword [rax]
jne 0x140187c59
xor r8d, r8d
mov edi, r8d
test ecx, ecx
jle 0x140187d67
mov rbp, rsi
lea rbx, [rax + 0x18]
sub rbp, rax
nop
movzx eax, byte [rbx]
cmp byte [rbx + rbp], al
jne 0x140187c59
mov r8, qword [rbx - 0x10]
mov r9d, 0xffffffff
mov rdx, qword [rbx + rbp - 0x10]
xor ecx, ecx
call fcn.14012fa60
test eax, eax
jne 0x140187c59
inc edi
add rbx, 0x20
cmp edi, dword [rsi]
jl 0x140187d30
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx + 0x30]
bt rax, 0xe
jae 0x140187d82
cmp qword [r14 + 0x20], 0
jne 0x140187c59
bt rax, 0x20
jb 0x140187c59
mov rcx, qword [rsp + 0x40]
mov esi, 0xffff8000
mov dword [rsp + 0x34], esi
mov rcx, qword [rcx + 0x70]
test rcx, rcx
je 0x140187dcf
mov rax, qword [rdx + 0x20]
mov esi, r8d
add rax, 0x18
mov dword [rsp + 0x34], r8d
cmp qword [rax], rcx
je 0x140187dcf
nop dword [rax]
inc esi
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x140187dc0
mov dword [rsp + 0x34], esi
mov r15, qword [rsp + 0xa0]
mov rdi, qword [r15 + 0x10]
test rdi, rdi
jne 0x140187e02
cmp qword [r15 + 0xa0], rdi
jne 0x140187df7
mov rax, qword [r15]
test byte [rax + 0x5c], 8
jne 0x140187df7
mov byte [r15 + 0x23], 1
mov rcx, r15
call fcn.140156c40
mov rdi, rax
mov rcx, qword [r15 + 0xa0]
mov rax, r15
test rcx, rcx
cmovne rax, rcx
mov ecx, dword [rax + 0x74]
bt ecx, esi
jb 0x140187e2e
bts ecx, esi
mov dword [rax + 0x74], ecx
cmp esi, 1
jne 0x140187e2e
mov rcx, rax
call fcn.14013edb0
mov eax, dword [r15 + 0x34]
mov r8, r14
mov edx, dword [rsp + 0xc0]
mov rcx, r15
mov dword [rsp + 0x38], eax
lea ebx, [rax + 1]
lea eax, [rbx + 1]
mov dword [rsp + 0x3c], ebx
mov dword [r15 + 0x34], eax
call fcn.1400eae00
movzx ecx, byte [r15 + 0x1f]
mov ebp, eax
test cl, cl
jne 0x140187e6b
inc dword [r15 + 0x38]
mov eax, dword [r15 + 0x38]
jmp 0x140187e7c
dec cl
movzx eax, cl
mov byte [r15 + 0x1f], al
mov eax, dword [r15 + rax*4 + 0xd0]
xor r8d, r8d
mov dword [rsp + 0x30], eax
mov r9d, eax
mov rcx, rdi
lea edx, [r8 + 0x48]
call fcn.140156170
movzx eax, byte [r15 + 0x1f]
test al, al
jne 0x140187ea5
inc dword [r15 + 0x38]
mov eax, dword [r15 + 0x38]
jmp 0x140187eb6
dec al
movzx eax, al
mov byte [r15 + 0x1f], al
mov eax, dword [r15 + rax*4 + 0xd0]
mov r8d, dword [rsp + 0xc0]
mov r9, r14
mov edx, ebx
mov dword [rsp + 0xb0], eax
mov rcx, r15
mov dword [rsp + 0x20], 0x62
call fcn.14013ea40
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
jne 0x140187f35
cmp word [r14 + 0x44], 0
jge 0x140187ef4
cmp qword [r14 + 0x10], 0
jne 0x140187f02
test r12d, r12d
jne 0x140187f02
lea eax, [r13 - 1]
cmp eax, 1
jbe 0x140187f35
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
lea edx, [r9 + 0x25]
call fcn.140156170
mov edx, VariantTimeToDosDateTime
mov rcx, rdi
mov ebx, eax
call fcn.140156090
mov edx, ebx
mov dword [rsp + 0x54], eax
mov rcx, rdi
call fcn.140161190
mov ebx, dword [rsp + 0x3c]
mov r12, qword [rsp + 0x40]
mov rcx, r15
test byte [r12 + 0x40], 0x80
jne 0x14018813f
mov r9, r12
mov dword [rsp + 0x20], 0x61
mov r12d, dword [rsp + 0x38]
mov r8d, esi
mov edx, r12d
call fcn.14013ea40
xor r9d, r9d
mov r8d, r12d
mov rcx, rdi
lea edx, [r9 + 0x25]
call fcn.140156170
cmp word [r14 + 0x44], 0
mov dword [rsp + 0x50], eax
jl 0x140187ff9
mov r9d, dword [rsp + 0xb0]
mov r8d, r12d
mov edx, 0x82
mov rcx, rdi
call fcn.140156170
mov esi, eax
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
jne 0x140187fde
mov eax, dword [rsp + 0xb0]
xor r9d, r9d
mov r8d, ebx
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea edx, [r9 + 0x20]
call fcn.1401561e0
mov r8, r14
mov edx, r13d
mov rcx, r15
mov ebx, eax
call fcn.140149530
mov edx, ebx
mov rcx, rdi
call fcn.140161190
mov r8d, dword [rsp + 0xb0]
mov edx, ebp
mov rcx, r15
call fcn.1400eaf20
mov ebp, dword [rsp + 0xb0]
jmp 0x140188031
cmp qword [r14 + 0x10], 0
jne 0x140188015
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 8
jne 0x140188015
mov r8d, ebx
mov edx, 0x7a
jmp 0x14018801d
mov r8d, r12d
mov edx, 0x82
mov ebp, dword [rsp + 0xb0]
mov rcx, rdi
mov r9d, ebp
call fcn.140156170
mov esi, eax
mov r13, qword [rsp + 0x48]
lea r15d, [r12 + 1]
test byte [r13 + 0x2c], 4
je 0x140188059
mov r8d, r15d
mov edx, 0x84
mov rcx, rdi
call fcn.140156100
mov ebx, 0x98
jmp 0x14018805e
mov ebx, 0xa9
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov r8d, r15d
mov edx, 0x7c
mov rcx, rdi
call fcn.1401561e0
mov r9d, dword [rsp + 0x30]
mov r8d, r15d
mov edx, 0x7b
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.1401561e0
test byte [r13 + 0x2c], 4
jne 0x1401880da
mov rax, qword [rdi]
cmp byte [rax + 0x63], 0
jne 0x1401880da
movsxd rax, dword [rdi + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x1401880d2
mov r9d, 0xfffffffa
mov r8, r14
mov rcx, rdi
call fcn.1401757b0
jmp 0x1401880da
mov qword [rdx + 0x10], r14
mov byte [rdx + 1], 0xfa
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x1401880f5
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], bx
mov r9d, esi
mov r8d, r12d
mov edx, 5
mov rcx, rdi
call fcn.140156170
xor r9d, r9d
mov r8d, r12d
mov rcx, rdi
lea edx, [r9 + 0x75]
call fcn.140156170
xor r9d, r9d
lea ebx, [r12 + 1]
mov r8d, ebx
mov rcx, rdi
lea edx, [r9 + 0x75]
call fcn.140156170
mov r15, qword [rsp + 0xa0]
mov esi, dword [rsp + 0x34]
jmp 0x14018817a
mov rax, qword [r14]
mov r9b, 1
mov r8d, dword [r14 + 0x38]
mov edx, dword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
call fcn.140150b70
mov rax, qword [r12]
xor r9d, r9d
mov r8d, dword [r12 + 0x38]
mov edx, esi
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.140150b70
mov r12d, dword [rsp + 0x38]
mov r13, qword [r14 + 0x10]
test r13, r13
jne 0x140188238
mov r14d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14018819e
mov edx, eax
mov rcx, rdi
call fcn.140161190
mov edx, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
test edx, edx
je 0x1401881c3
movzx eax, byte [rcx + 0x1f]
cmp al, 8
jae 0x1401881c3
mov dword [rcx + rax*4 + 0xd0], edx
inc byte [rcx + 0x1f]
test r14d, r14d
je 0x1401881db
movzx eax, byte [rcx + 0x1f]
cmp al, 8
jae 0x1401881db
mov dword [rcx + rax*4 + 0xd0], r14d
inc byte [rcx + 0x1f]
mov esi, dword [rsp + 0x54]
test esi, esi
je 0x14018882a
cmp qword [rcx + 0x98], 0
je 0x1401881f6
call fcn.1400eaf90
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x44]
call fcn.140156170
mov edx, esi
mov rcx, rdi
call fcn.140161190
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
lea edx, [r9 + 0x75]
call fcn.140156170
jmp 0x140187c59
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x40]
xor bpl, bpl
mov dword [rsp + 0x3c], ebp
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x140188268
nop dword [rax]
mov rdx, rbx
mov rcx, r13
call fcn.140187810
test eax, eax
jne 0x140188268
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140188250
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rbx + 0x58]
cmp dword [rdi + 0x94], ecx
jg 0x140188293
mov r9d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x61
mov r8d, r12d
mov rcx, rdi
call fcn.140104130
jmp 0x1401882c3
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r8
mov rsi, qword [r15 + 0x10]
mov rdx, rbx
mov rcx, r15
call fcn.14013c7b0
mov r8, rax
test rax, rax
je 0x14018831d
mov rax, qword [rsi]
cmp byte [rax + 0x63], 0
je 0x140188301
cmp qword [rax + 0x2e0], 0
jne 0x14018831d
add dword [r8], 0xffffffff
jne 0x14018831d
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.1401288c0
jmp 0x14018831d
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf7
mov qword [rax + rcx*8 - 8], r8
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [r13 + 0x58]
cmp dword [rdi + 0x94], ecx
jg 0x140188352
mov eax, dword [rsp + 0xc0]
lea r8d, [r12 + 1]
mov r9d, edx
mov dword [rsp + 0x20], eax
mov edx, 0x62
mov rcx, rdi
call fcn.140104130
jmp 0x14018838e
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
lea r15d, [r12 + 1]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsp + 0xc0]
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8], 0x62
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 0x10], r8
mov r15, qword [rsp + 0xa0]
mov rdx, r13
mov rcx, r15
mov rsi, qword [r15 + 0x10]
call fcn.14013c7b0
mov r8, rax
test rax, rax
je 0x1401883f0
mov rax, qword [rsi]
cmp byte [rax + 0x63], 0
je 0x1401883d4
cmp qword [rax + 0x2e0], 0
jne 0x1401883f0
add dword [r8], 0xffffffff
jne 0x1401883f0
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.1401288c0
jmp 0x1401883f0
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf7
mov qword [rax + rcx*8 - 8], r8
movsxd r15, dword [rdi + 0x90]
test r15d, r15d
jle 0x140188418
mov rax, qword [rdi + 0x88]
lea rcx, [r15 + r15*2]
mov edx, 1
mov word [rax + rcx*8 - 0x16], dx
mov r15d, dword [rdi + 0x90]
cmp dword [rdi + 0x94], r15d
jg 0x140188443
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, r12d
mov rcx, rdi
lea edx, [r9 + 0x25]
call fcn.140104130
mov r15d, eax
xor r8d, r8d
jmp 0x140188474
lea eax, [r15 + 1]
xor r8d, r8d
mov dword [rdi + 0x90], eax
movsxd rax, r15d
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x25
mov dword [rax + rcx*8 + 4], r12d
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
je 0x1401885c8
movzx r14d, word [rbx + 0x60]
mov esi, r8d
mov r11, r8
test r14d, r14d
je 0x1401884db
mov r10, qword [rbx + 0x40]
lea r12, [0x140236334]
nop
mov r9, qword [r10]
test r9, r9
je 0x1401884cf
mov rdx, r12
sub r9, r12
nop
movzx eax, byte [rdx]
movzx r8d, byte [r9 + rdx]
cmp eax, r8d
jne 0x140188518
test eax, eax
jne 0x14018852c
inc esi
inc r11
add r10, 8
cmp r11, r14
jl 0x1401884a0
mov r12d, dword [rsp + 0x38]
xor r8d, r8d
mov ebp, dword [rsp + 0x3c]
cmp esi, r14d
jne 0x1401885e6
movsxd rcx, dword [rdi + 0x90]
lea ebx, [r12 + 1]
mov bpl, 0x90
cmp dword [rdi + 0x94], ecx
jg 0x140188534
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov r8d, ebx
mov edx, 0x84
mov rcx, rdi
call fcn.140104130
xor r8d, r8d
jmp 0x140188561
lea rbx, [0x140237d20]
movzx ecx, byte [rax + rbx]
movzx eax, byte [r8 + rbx]
cmp ecx, eax
jne 0x1401884cf
inc rdx
jmp 0x1401884b0
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x84
mov dword [rax + rcx*8 + 4], ebx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x140188595
mov dword [rsp + 0x20], r8d
mov r9d, r12d
mov r8d, ebx
mov edx, 0x7c
mov rcx, rdi
call fcn.140104130
mov r14d, dword [rsp + 0x30]
xor r8d, r8d
jmp 0x140188653
mov r14d, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x7c
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r8d
jmp 0x14018864e
test byte [r14 + 0x40], 0x80
mov edx, 1
je 0x1401885eb
movzx eax, byte [r13 + 0x64]
and al, 3
movzx ebp, bpl
cmp al, 2
cmove ebp, edx
jmp 0x1401885eb
mov edx, 1
movsxd rcx, dword [rdi + 0x90]
mov r14d, dword [rsp + 0x30]
cmp dword [rdi + 0x94], ecx
jg 0x140188620
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, 0x81
mov r8d, r12d
mov rcx, rdi
call fcn.140104130
xor r8d, r8d
lea ebx, [r12 + 1]
jmp 0x140188653
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
lea ebx, [r12 + 1]
mov dword [rax + rcx*8], 0x81
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x14018867f
mov dword [rsp + 0x20], r8d
mov r9d, r14d
mov r8d, ebx
mov edx, 0x85
mov rcx, rdi
call fcn.140104130
xor r8d, r8d
jmp 0x1401886ad
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x85
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rdi + 0x90]
test ecx, ecx
jle 0x1401886d6
mov rax, qword [rdi + 0x88]
lea rcx, [rcx + rcx*2]
or bpl, 8
movzx edx, bpl
mov word [rax + rcx*8 - 0x16], dx
mov ecx, dword [rdi + 0x90]
lea edx, [r15 + 1]
cmp dword [rdi + 0x94], ecx
jg 0x1401886ff
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, r12d
mov edx, 5
mov rcx, rdi
call fcn.140104130
xor r8d, r8d
jmp 0x140188730
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 5
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x63], 0
je 0x140188748
lea rax, [0x1402bfea0]
jmp 0x140188763
lea eax, [rdx - 1]
test r15d, r15d
cmovns eax, r15d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x140188791
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, r12d
mov rcx, rdi
lea edx, [r9 + 0x75]
call fcn.140104130
xor r8d, r8d
jmp 0x1401887bf
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x75
mov dword [rax + rcx*8 + 4], r12d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1401887e7
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, ebx
mov rcx, rdi
lea edx, [r9 + 0x75]
call fcn.140104130
jmp 0x140188814
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x75
mov dword [rax + rcx*8 + 4], ebx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov r13, qword [r13 + 0x28]
mov esi, dword [rsp + 0x34]
test r13, r13
jne 0x140188230
jmp 0x14018818c
mov eax, 1
jmp 0x140187c5b