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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x80
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r12
mov r12, rcx
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1401991d1
call qword [0x1402bc380]
mov rcx, qword [r12 + 0x28]
call fcn.1401497d0
mov r11, qword [r12]
test r11, r11
je 0x1401991f3
mov rcx, qword [r11 + 0x58]
test rcx, rcx
je 0x1401991f3
call qword [0x1402bc380]
mov ebx, dword [r12 + 0x30]
test ebx, ebx
je 0x14019920a
cmp ebx, 5
je 0x14019920a
cmp ebx, 6
jne 0x140199e61
mov rcx, qword [r12 + 0x28]
mov qword [rsp + 0x78], rbp
mov rbp, qword [r12 + 8]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x58], r13
mov r13, qword [rax]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x50], r14
mov rdx, qword [rax]
xor r14d, r14d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x28], r13
mov dword [rsp + 0xa8], r14d
mov qword [rsp + 0x30], rdx
lea esi, [r14 + 8]
cmp qword [r12], r14
je 0x14019926c
mov rax, qword [rcx + 8]
cmp byte [rax + 0x27], 2
jne 0x14019926c
lea ebx, [rsi - 3]
jmp 0x1401996a6
mov ebx, r14d
cmp dword [r12 + 0x14], ebx
jne 0x140199509
mov rdi, qword [rbp + 8]
mov rcx, rbp
call fcn.1401497d0
cmp byte [rbp + 0x10], 2
je 0x1401994b0
cmp byte [rdi + 0x20], bl
je 0x14019929c
mov ebx, esi
jmp 0x1401994c4
cmp byte [rdi + 0x27], 2
je 0x1401992ea
cmp byte [rdi + 0x89], bl
jne 0x1401992ea
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x1401992c1
cmp qword [rax], rbp
jne 0x1401992e5
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1401992b3
mov rax, qword [rbp + 8]
cmp byte [rbp + 0x11], bl
je 0x14019932a
cmp qword [rax + 0x80], rbp
je 0x140199303
cmp byte [rax + 0x88], bl
je 0x140199303
mov ebx, 0x106
jmp 0x1401994c4
mov rax, qword [rax]
jmp 0x1401992f1
mov rax, qword [rdi + 0x80]
mov rcx, qword [rax]
test rcx, rcx
je 0x1401992c1
mov ebx, 0x106
jmp 0x1401994c4
mov rax, qword [rax + 0x78]
test rax, rax
je 0x14019932a
nop dword [rax]
cmp qword [rax], rbp
je 0x140199321
cmp dword [rax + 8], 1
jne 0x140199321
cmp byte [rax + 0xc], 1
jne 0x1401992f9
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140199310
cmp dword [rdi + 0x40], r14d
sete al
mov byte [rdi + 0x23], al
cmp qword [rdi + 0x18], r14
jne 0x14019934a
mov rcx, rdi
call fcn.140189cf0
mov ebx, eax
test eax, eax
je 0x140199334
jmp 0x140199388
test ebx, ebx
jne 0x140199388
cmp byte [rdi + 0x20], r14b
je 0x140199358
mov ebx, esi
jmp 0x140199388
mov rax, qword [rbp]
mov rcx, qword [rdi]
mov r8d, r14d
cmp byte [rax + 0x29], 2
mov edx, 1
sete r8b
call fcn.140156820
mov ebx, eax
test eax, eax
jne 0x140199388
mov rcx, rdi
call fcn.14018a110
mov ebx, eax
test eax, eax
je 0x1401993c2
cmp byte [rdi + 0x27], r14b
jne 0x1401993c2
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1401993c2
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x1401993be
mov rsi, qword [rcx + 0x20]
call fcn.140145ea0
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], r14d
jne 0x1401993be
mov rcx, rsi
call fcn.140188850
mov qword [rdi + 0x18], r14
cmp bl, 5
jne 0x140199407
cmp byte [rdi + 0x27], r14b
jne 0x140199407
mov rsi, qword [rdi + 8]
add rsi, 0x2b8
je 0x140199407
mov rax, qword [rsi]
test rax, rax
je 0x140199407
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x140199407
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x140199400
inc dword [rsi + 0x10]
mov esi, 8
jmp 0x140199334
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x1401994c4
cmp byte [rbp + 0x10], r14b
jne 0x140199432
inc dword [rdi + 0x3c]
cmp byte [rbp + 0x11], r14b
je 0x140199432
mov byte [rbp + 0x3c], 1
mov rax, qword [rdi + 0x78]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
mov qword [rdi + 0x78], rax
mov byte [rbp + 0x10], 2
cmp byte [rdi + 0x27], 2
jae 0x140199440
mov byte [rdi + 0x27], 2
mov rsi, qword [rdi + 0x18]
mov qword [rdi + 0x80], rbp
mov byte [rdi + 0x88], 1
mov rcx, qword [rsi + 0x70]
movzx eax, byte [rcx + 0x1c]
movzx edx, byte [rcx + 0x1d]
shl eax, 8
or edx, eax
movzx eax, byte [rcx + 0x1e]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 0x1f]
shl edx, 8
or edx, eax
cmp dword [rdi + 0x40], edx
je 0x1401994b0
mov rcx, qword [rsi + 0x78]
call fcn.140188c10
mov ebx, eax
test eax, eax
jne 0x1401994c4
mov r8d, dword [rdi + 0x40]
mov rdx, qword [rsi + 0x70]
mov eax, r8d
mov byte [rdx + 0x1f], r8b
shr eax, 0x18
mov byte [rdx + 0x1c], al
mov eax, r8d
shr eax, 0x10
mov byte [rdx + 0x1d], al
mov eax, r8d
shr eax, 8
mov byte [rdx + 0x1e], al
mov rax, qword [rbp]
mov rcx, qword [rdi]
mov edx, dword [rax + 0x320]
call fcn.140156990
mov ebx, eax
cmp byte [rbp + 0x11], r14b
je 0x1401994e6
dec dword [rbp + 0x14]
jne 0x1401994e6
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1401994e2
call qword [0x1402bc390]
mov byte [rbp + 0x12], r14b
test ebx, ebx
jne 0x1401996a6
mov rcx, qword [r12 + 8]
lea r8, [r12 + 0x10]
lea edx, [rbx + 1]
mov dword [r12 + 0x14], 1
call fcn.14014b170
mov rbp, qword [r12 + 0x28]
cmp byte [rbp + 0x10], r14b
jne 0x1401996a6
mov rdi, qword [rbp + 8]
mov rcx, rbp
mov ebx, r14d
call fcn.1401497d0
movzx eax, byte [rbp + 0x10]
cmp al, 2
je 0x140199679
cmp al, 1
je 0x140199679
cmp byte [rdi + 0x89], bl
je 0x140199559
mov rax, qword [rdi + 0x80]
cmp qword [rax], rbx
je 0x140199559
mov ebx, 0x106
jmp 0x140199679
mov rax, qword [rbp + 8]
cmp byte [rbp + 0x11], bl
je 0x1401995a0
cmp qword [rax + 0x80], rbp
je 0x14019957d
cmp byte [rax + 0x88], bl
je 0x14019957d
mov ebx, 0x106
jmp 0x140199679
mov rax, qword [rax + 0x78]
test rax, rax
je 0x1401995a0
cmp qword [rax], rbp
je 0x140199597
cmp dword [rax + 8], 1
jne 0x140199597
cmp byte [rax + 0xc], 1
jne 0x14019954f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140199586
cmp dword [rdi + 0x40], r14d
sete al
mov byte [rdi + 0x23], al
nop word [rax + rax]
cmp qword [rdi + 0x18], r14
jne 0x1401995c6
mov rcx, rdi
call fcn.140189cf0
mov ebx, eax
test eax, eax
je 0x1401995b0
jmp 0x1401995ca
test ebx, ebx
je 0x140199604
cmp byte [rdi + 0x27], r14b
jne 0x140199604
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140199604
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x140199600
mov rsi, qword [rcx + 0x20]
call fcn.140145ea0
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], r14d
jne 0x140199600
mov rcx, rsi
call fcn.140188850
mov qword [rdi + 0x18], r14
cmp bl, 5
jne 0x140199644
cmp byte [rdi + 0x27], r14b
jne 0x140199644
mov rsi, qword [rdi + 8]
add rsi, 0x2b8
je 0x140199644
mov rax, qword [rsi]
test rax, rax
je 0x140199644
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x140199644
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x14019963d
inc dword [rsi + 0x10]
jmp 0x1401995b0
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x140199679
cmp byte [rbp + 0x10], r14b
jne 0x14019966b
inc dword [rdi + 0x3c]
cmp byte [rbp + 0x11], r14b
je 0x14019966b
mov byte [rbp + 0x3c], 1
mov rax, qword [rdi + 0x78]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
mov qword [rdi + 0x78], rax
mov byte [rbp + 0x10], 1
cmp byte [rdi + 0x27], 1
jae 0x140199679
mov byte [rdi + 0x27], 1
cmp byte [rbp + 0x11], r14b
je 0x14019969b
dec dword [rbp + 0x14]
jne 0x14019969b
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140199697
call qword [0x1402bc390]
mov byte [rbp + 0x12], r14b
mov dword [rsp + 0xa8], 1
mov rax, qword [r12 + 0x28]
mov rcx, qword [rax + 8]
mov rax, qword [r12 + 8]
mov rax, qword [rax + 8]
movsxd r15, dword [rcx + 0x34]
mov r14d, dword [rax + 0x34]
test ebx, ebx
jne 0x1401996d8
mov rax, qword [rax]
cmp byte [rax + 9], 5
jne 0x1401996d8
cmp r15d, r14d
mov eax, 8
cmovne ebx, eax
movsxd r12, dword [rcx + 0x40]
mov rdi, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x90]
xor ebp, ebp
nop dword [rax + rax]
mov eax, dword [rsp + 0x98]
test eax, eax
js 0x140199703
cmp ebp, eax
jge 0x1401998cf
mov esi, dword [rdx + 0x18]
cmp esi, r12d
ja 0x1401998cf
test ebx, ebx
jne 0x140199923
mov rax, qword [rdx + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x1402bc480]
div dword [rcx + 0x34]
inc eax
cmp esi, eax
je 0x1401998bd
test esi, esi
jne 0x140199766
lea r9, [0x14024940c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
lea ecx, [rbx + 0xb]
mov r8d, 0xa32d
call fcn.140160780
mov rdx, qword [rsp + 0x90]
lea ebx, [rsi + 0xb]
inc dword [rdx + 0x18]
inc ebp
jmp 0x1401996f0
mov ebx, dword [r13 + 0x2c]
test ebx, ebx
jne 0x140199867
mov rcx, qword [r13 + 0xe0]
lea r9, [rsp + 0x20]
lea r8d, [rbx + 1]
mov edx, esi
call fcn.140145ce0
mov rdi, qword [rsp + 0x20]
mov ebx, eax
test eax, eax
jne 0x140199867
cmp qword [rdi + 0x20], 0
jne 0x140199887
mov qword [rdi + 0x20], r13
cmp esi, 0x7fffffff
ja 0x14019980e
mov eax, dword [0x1402bc480]
movsxd rcx, dword [r13 + 0xa0]
cdq
idiv ecx
inc eax
cmp esi, eax
je 0x14019980e
cmp byte [r13 + 0x12], bl
jne 0x1401997ef
cmp dword [r13 + 0x1c], esi
jb 0x1401997ef
mov rax, qword [r13 + 0x48]
cmp qword [rax], 0
je 0x1401997ef
mov rcx, rdi
call fcn.1401783a0
mov ebx, eax
test eax, eax
je 0x140199887
jmp 0x140199831
cmp esi, dword [r13 + 0xa4]
jbe 0x1401997ff
mov ebx, 0xd
jmp 0x140199831
mov r8, rcx
mov rcx, qword [rdi]
xor edx, edx
call fcn.14010da60
jmp 0x140199887
lea r9, [0x14024940c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0xa354
mov ecx, VariantTimeToDosDateTime
call fcn.140160780
mov ebx, VariantTimeToDosDateTime
test byte [rdi + 0x28], 2
je 0x14019983f
mov rcx, rdi
call fcn.140145b00
mov rcx, qword [rdi + 0x30]
dec dword [rcx + 0x18]
cmp dword [rdi + 0x18], 1
jne 0x140199854
mov qword [rcx + 0x48], 0
mov rcx, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rdi
call qword [0x1402bc3e0]
mov rax, qword [r13 + 0xe0]
cmp dword [rax + 0x18], 0
jne 0x14019987c
mov rcx, r13
call fcn.140188850
xor edi, edi
mov qword [rsp + 0x20], rdi
test ebx, ebx
jne 0x1401998bd
mov r8, qword [rdi]
mov rcx, qword [rsp + 0x90]
mov edx, esi
call fcn.140190f50
mov rsi, qword [rdi + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.140145ea0
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], 0
jne 0x1401998bd
mov rcx, rsi
call fcn.140188850
mov rdx, qword [rsp + 0x90]
inc dword [rdx + 0x18]
inc ebp
jmp 0x1401996f0
test ebx, ebx
jne 0x140199923
mov ecx, dword [rdx + 0x18]
mov eax, r12d
mov dword [rdx + 0x38], r12d
sub eax, ecx
inc eax
mov dword [rdx + 0x34], eax
cmp ecx, r12d
ja 0x14019992c
mov r12, qword [rsp + 0x90]
cmp dword [r12 + 0x3c], ebx
jne 0x140199c09
mov rax, qword [r12 + 0x28]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x70]
mov qword [r12 + 0x40], rax
mov qword [rdx + 0x70], r12
mov dword [r12 + 0x3c], 1
jmp 0x140199c09
cmp ebx, 0x65
jne 0x140199c01
mov rdi, qword [rdx + 8]
mov esi, dword [rdx + 0x10]
mov rbx, qword [rdi + 8]
mov rcx, rdi
inc esi
call fcn.1401497d0
mov rcx, qword [rbx + 0x18]
mov rbp, qword [rcx + 0x70]
mov rcx, qword [rcx + 0x78]
call fcn.140188c10
mov ebx, eax
test eax, eax
jne 0x140199974
mov eax, esi
mov byte [rbp + 0x2b], sil
shr eax, 0x18
mov byte [rbp + 0x28], al
mov eax, esi
shr eax, 0x10
mov byte [rbp + 0x29], al
mov eax, esi
shr eax, 8
mov byte [rbp + 0x2a], al
cmp byte [rdi + 0x11], 0
je 0x140199996
dec dword [rdi + 0x14]
jne 0x140199996
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140199992
call qword [0x1402bc390]
mov byte [rdi + 0x12], 0
test ebx, ebx
jne 0x140199c01
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401999b6
or edx, 0xffffffff
call fcn.140171220
cmp r15d, r14d
jge 0x1401999ef
mov eax, r14d
cdq
idiv r15d
mov ecx, eax
lea eax, [rax + r12 - 1]
cdq
idiv ecx
mov rcx, qword [rbx + 8]
xor edx, edx
mov r8, qword [rcx + 8]
mov r9d, eax
mov eax, dword [0x1402bc480]
div dword [r8 + 0x34]
inc eax
cmp r9d, eax
jne 0x1401999fd
dec r9d
jmp 0x1401999fd
mov eax, r15d
cdq
idiv r14d
mov r9d, eax
imul r9d, r12d
mov rdi, qword [rsp + 0x30]
xor edx, edx
mov dword [rdi + 0x1c], r9d
mov rcx, rdi
cmp r15d, r14d
jge 0x140199d0f
mov r13, r15
mov r15, r12
mov r12, qword [rdi + 0x48]
lea r8d, [rdx + 1]
imul r15, r13
call fcn.140195e90
mov edx, dword [0x1402bc480]
mov ebx, eax
lea eax, [rdx + r14]
mov r14, r15
movsxd rcx, eax
mov eax, r13d
cmp rcx, r15
cmovl r14, rcx
add eax, edx
movsxd rbp, eax
test ebx, ebx
jne 0x140199c01
cmp rbp, r14
jge 0x140199c8c
mov rax, rbp
xor edi, edi
cqo
mov qword [rsp + 0x20], rdi
idiv r13
mov rsi, rax
inc esi
jne 0x140199a97
lea r9, [0x14024940c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
lea ecx, [rdi + 0xb]
mov r8d, 0xa32d
call fcn.140160780
lea ebx, [rdi + 0xb]
jmp 0x140199bf6
mov r10, qword [rsp + 0x28]
mov ebx, dword [r10 + 0x2c]
test ebx, ebx
jne 0x140199ba2
mov rcx, qword [r10 + 0xe0]
lea r9, [rsp + 0x20]
lea r8d, [rbx + 1]
mov edx, esi
call fcn.140145ce0
mov rdi, qword [rsp + 0x20]
mov r10, qword [rsp + 0x28]
mov ebx, eax
test eax, eax
jne 0x140199ba2
cmp qword [rdi + 0x20], 0
jne 0x140199bbf
mov qword [rdi + 0x20], r10
cmp esi, 0x7fffffff
ja 0x140199b49
mov eax, dword [0x1402bc480]
movsxd rcx, dword [r10 + 0xa0]
cdq
idiv ecx
inc eax
cmp esi, eax
je 0x140199b49
cmp byte [r10 + 0x12], bl
jne 0x140199b2a
cmp dword [r10 + 0x1c], esi
jb 0x140199b2a
mov rax, qword [r10 + 0x48]
cmp qword [rax], 0
je 0x140199b2a
mov rcx, rdi
call fcn.1401783a0
mov ebx, eax
test eax, eax
je 0x140199bbf
jmp 0x140199b6c
cmp esi, dword [r10 + 0xa4]
jbe 0x140199b3a
mov ebx, 0xd
jmp 0x140199b6c
mov r8, rcx
mov rcx, qword [rdi]
xor edx, edx
call fcn.14010da60
jmp 0x140199bbf
lea r9, [0x14024940c]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0xa354
mov ecx, VariantTimeToDosDateTime
call fcn.140160780
mov ebx, VariantTimeToDosDateTime
test byte [rdi + 0x28], 2
je 0x140199b7a
mov rcx, rdi
call fcn.140145b00
mov rcx, qword [rdi + 0x30]
dec dword [rcx + 0x18]
cmp dword [rdi + 0x18], 1
jne 0x140199b8f
mov qword [rcx + 0x48], 0
mov rcx, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rdi
call qword [0x1402bc3e0]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + 0xe0]
cmp dword [rax + 0x18], 0
jne 0x140199bb9
call fcn.140188850
xor edi, edi
test ebx, ebx
jne 0x140199bf6
mov rax, qword [r12]
mov rdx, qword [rdi]
mov r9, rbp
mov r8d, r13d
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rsi, qword [rdi + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.140145ea0
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], 0
jne 0x140199bf6
mov rcx, rsi
call fcn.140188850
add rbp, r13
test ebx, ebx
je 0x140199a54
mov r12, qword [rsp + 0x90]
cmp dword [rsp + 0xa8], 0
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
je 0x140199e44
mov rcx, qword [r12 + 0x28]
xor edx, edx
call fcn.140197650
mov rdi, qword [r12 + 0x28]
cmp byte [rdi + 0x10], 0
je 0x140199e44
mov rcx, rdi
call fcn.1401497d0
cmp byte [rdi + 0x10], 2
jne 0x140199e1a
mov rbp, qword [rdi + 8]
mov rsi, qword [rbp]
mov eax, dword [rsi + 0x2c]
test eax, eax
jne 0x140199e22
cmp byte [rsi + 0x13], 2
jne 0x140199df2
cmp byte [rsi + 8], al
je 0x140199df2
cmp byte [rsi + 9], 1
jne 0x140199df2
mov byte [rsi + 0x13], 1
jmp 0x140199e16
test ebx, ebx
jne 0x140199c01
mov rax, qword [r12]
lea rdx, [rsp + 0xa0]
mov rcx, r12
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x140199cc5
cmp qword [rsp + 0xa0], r15
jle 0x140199cc5
mov rax, qword [r12]
mov rdx, r15
mov rcx, r12
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x140199c01
mov rdi, qword [rsp + 0x30]
mov dword [rsp + 0xa0], ebx
mov rcx, qword [rdi + 0x48]
cmp byte [rdi + 0xc], bl
jne 0x140199cee
mov rax, qword [rcx]
movzx edx, byte [rdi + 0xf]
call qword [rax + 0x28]
jmp 0x140199d17
cmp qword [rcx], rbx
je 0x140199d19
mov rax, qword [rcx]
lea r8, [rsp + 0xa0]
mov edx, 8
call qword [rax + 0x50]
mov ebx, dword [rsp + 0xa0]
jmp 0x140199d19
xor r8d, r8d
call fcn.140195e90
mov ebx, eax
test ebx, ebx
jne 0x140199c01
mov r12, qword [rsp + 0x90]
mov rdi, qword [r12 + 8]
cmp byte [rdi + 0x10], bl
je 0x140199d93
mov rcx, rdi
call fcn.1401497d0
cmp byte [rdi + 0x10], 2
jne 0x140199d69
mov rbp, qword [rdi + 8]
mov rsi, qword [rbp]
mov ebx, dword [rsi + 0x2c]
test ebx, ebx
jne 0x140199dc3
cmp byte [rsi + 0x13], 2
jne 0x140199d9d
cmp byte [rsi + 8], bl
je 0x140199d9d
cmp byte [rsi + 9], 1
jne 0x140199d9d
mov byte [rsi + 0x13], 1
mov byte [rbp + 0x27], 1
mov rcx, rdi
call fcn.14014a900
cmp byte [rdi + 0x11], 0
je 0x140199d93
dec dword [rdi + 0x14]
jne 0x140199d93
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140199d8f
call qword [0x1402bc390]
mov byte [rdi + 0x12], 0
mov ebx, 0x65
jmp 0x140199c09
movzx edx, byte [rsi + 0x16]
mov rcx, rsi
call fcn.140155b50
mov ebx, eax
movzx eax, al
cmp eax, 0xd
je 0x140199db8
cmp eax, 0xa
jne 0x140199dbf
mov dword [rsi + 0x2c], ebx
mov byte [rsi + 0x13], 6
test ebx, ebx
je 0x140199d65
cmp byte [rdi + 0x11], 0
je 0x140199c09
dec dword [rdi + 0x14]
jne 0x140199c09
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140199de9
call qword [0x1402bc390]
mov byte [rdi + 0x12], 0
jmp 0x140199c09
movzx edx, byte [rsi + 0x16]
mov rcx, rsi
call fcn.140155b50
movzx ecx, al
cmp ecx, 0xd
je 0x140199e0b
cmp ecx, 0xa
jne 0x140199e12
mov dword [rsi + 0x2c], eax
mov byte [rsi + 0x13], 6
test eax, eax
jne 0x140199e22
mov byte [rbp + 0x27], 1
mov rcx, rdi
call fcn.14014a900
cmp byte [rdi + 0x11], 0
je 0x140199e44
dec dword [rdi + 0x14]
jne 0x140199e44
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140199e40
call qword [0x1402bc390]
mov byte [rdi + 0x12], 0
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov eax, 7
cmp ebx, 0xc0a
cmove ebx, eax
mov dword [r12 + 0x30], ebx
mov rax, qword [r12]
test rax, rax
je 0x140199e79
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140199e79
call qword [0x1402bc390]
mov rdi, qword [r12 + 0x28]
cmp byte [rdi + 0x11], 0
je 0x140199ea0
dec dword [rdi + 0x14]
jne 0x140199ea0
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140199e9c
call qword [0x1402bc390]
mov byte [rdi + 0x12], 0
mov rcx, qword [r12 + 0x20]
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x58]
test rcx, rcx
je 0x140199ebe
call qword [0x1402bc390]
mov eax, ebx
add rsp, 0x80
pop rbx
ret