Function at 0x140185fe0
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 0x140186011
call qword [0x140470ef0]
mov rcx, qword [r12 + 0x28]
call fcn.14013f800
mov r11, qword [r12]
test r11, r11
je 0x140186033
mov rcx, qword [r11 + 0x58]
test rcx, rcx
je 0x140186033
call qword [0x140470ef0]
mov ebx, dword [r12 + 0x30]
test ebx, ebx
je 0x14018604a
cmp ebx, 5
je 0x14018604a
cmp ebx, 6
jne 0x140186c4e
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 0x1401860ac
mov rax, qword [rcx + 8]
cmp byte [rax + 0x27], 2
jne 0x1401860ac
lea ebx, [rsi - 3]
jmp 0x1401864e6
mov ebx, r14d
cmp dword [r12 + 0x14], ebx
jne 0x140186349
mov rdi, qword [rbp + 8]
mov rcx, rbp
call fcn.14013f800
cmp byte [rbp + 0x10], 2
je 0x1401862f0
cmp byte [rdi + 0x20], bl
je 0x1401860dc
mov ebx, esi
jmp 0x140186304
cmp byte [rdi + 0x27], 2
je 0x14018612a
cmp byte [rdi + 0x89], bl
jne 0x14018612a
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x140186101
cmp qword [rax], rbp
jne 0x140186125
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1401860f3
mov rax, qword [rbp + 8]
cmp byte [rbp + 0x11], bl
je 0x14018616a
cmp qword [rax + 0x80], rbp
je 0x140186143
cmp byte [rax + 0x88], bl
je 0x140186143
mov ebx, 0x106
jmp 0x140186304
mov rax, qword [rax]
jmp 0x140186131
mov rax, qword [rdi + 0x80]
mov rcx, qword [rax]
test rcx, rcx
je 0x140186101
mov ebx, 0x106
jmp 0x140186304
mov rax, qword [rax + 0x78]
test rax, rax
je 0x14018616a
nop dword [rax]
cmp qword [rax], rbp
je 0x140186161
cmp dword [rax + 8], 1
jne 0x140186161
cmp byte [rax + 0xc], 1
jne 0x140186139
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140186150
cmp dword [rdi + 0x40], r14d
sete al
mov byte [rdi + 0x23], al
cmp qword [rdi + 0x18], r14
jne 0x14018618a
mov rcx, rdi
call fcn.140180490
mov ebx, eax
test eax, eax
je 0x140186174
jmp 0x1401861c8
test ebx, ebx
jne 0x1401861c8
cmp byte [rdi + 0x20], r14b
je 0x140186198
mov ebx, esi
jmp 0x1401861c8
mov rax, qword [rbp]
mov rcx, qword [rdi]
mov r8d, r14d
cmp byte [rax + 0x29], 2
mov edx, 1
sete r8b
call fcn.1401431e0
mov ebx, eax
test eax, eax
jne 0x1401861c8
mov rcx, rdi
call fcn.140168600
mov ebx, eax
test eax, eax
je 0x140186202
cmp byte [rdi + 0x27], r14b
jne 0x140186202
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140186202
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x1401861fe
mov rsi, qword [rcx + 0x20]
call fcn.14013c530
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], r14d
jne 0x1401861fe
mov rcx, rsi
call fcn.140173450
mov qword [rdi + 0x18], r14
cmp bl, 5
jne 0x140186247
cmp byte [rdi + 0x27], r14b
jne 0x140186247
mov rsi, qword [rdi + 8]
add rsi, 0x2b8
je 0x140186247
mov rax, qword [rsi]
test rax, rax
je 0x140186247
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x140186247
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x140186240
inc dword [rsi + 0x10]
mov esi, 8
jmp 0x140186174
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x140186304
cmp byte [rbp + 0x10], r14b
jne 0x140186272
inc dword [rdi + 0x3c]
cmp byte [rbp + 0x11], r14b
je 0x140186272
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 0x140186280
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 0x1401862f0
mov rcx, qword [rsi + 0x78]
call fcn.1401650e0
mov ebx, eax
test eax, eax
jne 0x140186304
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.140149190
mov ebx, eax
cmp byte [rbp + 0x11], r14b
je 0x140186326
dec dword [rbp + 0x14]
jne 0x140186326
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140186322
call qword [0x140470f00]
mov byte [rbp + 0x12], r14b
test ebx, ebx
jne 0x1401864e6
mov rcx, qword [r12 + 8]
lea r8, [r12 + 0x10]
lea edx, [rbx + 1]
mov dword [r12 + 0x14], 1
call fcn.1401428e0
mov rbp, qword [r12 + 0x28]
cmp byte [rbp + 0x10], r14b
jne 0x1401864e6
mov rdi, qword [rbp + 8]
mov rcx, rbp
mov ebx, r14d
call fcn.14013f800
movzx eax, byte [rbp + 0x10]
cmp al, 2
je 0x1401864b9
cmp al, 1
je 0x1401864b9
cmp byte [rdi + 0x89], bl
je 0x140186399
mov rax, qword [rdi + 0x80]
cmp qword [rax], rbx
je 0x140186399
mov ebx, 0x106
jmp 0x1401864b9
mov rax, qword [rbp + 8]
cmp byte [rbp + 0x11], bl
je 0x1401863e0
cmp qword [rax + 0x80], rbp
je 0x1401863bd
cmp byte [rax + 0x88], bl
je 0x1401863bd
mov ebx, 0x106
jmp 0x1401864b9
mov rax, qword [rax + 0x78]
test rax, rax
je 0x1401863e0
cmp qword [rax], rbp
je 0x1401863d7
cmp dword [rax + 8], 1
jne 0x1401863d7
cmp byte [rax + 0xc], 1
jne 0x14018638f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1401863c6
cmp dword [rdi + 0x40], r14d
sete al
mov byte [rdi + 0x23], al
nop word [rax + rax]
cmp qword [rdi + 0x18], r14
jne 0x140186406
mov rcx, rdi
call fcn.140180490
mov ebx, eax
test eax, eax
je 0x1401863f0
jmp 0x14018640a
test ebx, ebx
je 0x140186444
cmp byte [rdi + 0x27], r14b
jne 0x140186444
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140186444
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x140186440
mov rsi, qword [rcx + 0x20]
call fcn.14013c530
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], r14d
jne 0x140186440
mov rcx, rsi
call fcn.140173450
mov qword [rdi + 0x18], r14
cmp bl, 5
jne 0x140186484
cmp byte [rdi + 0x27], r14b
jne 0x140186484
mov rsi, qword [rdi + 8]
add rsi, 0x2b8
je 0x140186484
mov rax, qword [rsi]
test rax, rax
je 0x140186484
mov edx, dword [rsi + 0x10]
test edx, edx
js 0x140186484
mov rcx, qword [rsi + 8]
call rax
test eax, eax
je 0x14018647d
inc dword [rsi + 0x10]
jmp 0x1401863f0
mov dword [rsi + 0x10], 0xffffffff
test ebx, ebx
jne 0x1401864b9
cmp byte [rbp + 0x10], r14b
jne 0x1401864ab
inc dword [rdi + 0x3c]
cmp byte [rbp + 0x11], r14b
je 0x1401864ab
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 0x1401864b9
mov byte [rdi + 0x27], 1
cmp byte [rbp + 0x11], r14b
je 0x1401864db
dec dword [rbp + 0x14]
jne 0x1401864db
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1401864d7
call qword [0x140470f00]
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 0x140186518
mov rax, qword [rax]
cmp byte [rax + 9], 5
jne 0x140186518
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 0x140186543
cmp ebp, eax
jge 0x14018670f
mov esi, dword [rdx + 0x18]
cmp esi, r12d
ja 0x14018670f
test ebx, ebx
jne 0x140186763
mov rax, qword [rdx + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x140470d84]
div dword [rcx + 0x34]
inc eax
cmp esi, eax
je 0x1401866fd
test esi, esi
jne 0x1401865a6
lea r9, [0x140382184]
lea rdx, str.database_corruption_at_line__d_of___.10s_
lea ecx, [rbx + 0xb]
mov r8d, 0xa32d
call fcn.140154180
mov rdx, qword [rsp + 0x90]
lea ebx, [rsi + 0xb]
inc dword [rdx + 0x18]
inc ebp
jmp 0x140186530
mov ebx, dword [r13 + 0x2c]
test ebx, ebx
jne 0x1401866a7
mov rcx, qword [r13 + 0xe0]
lea r9, [rsp + 0x20]
lea r8d, [rbx + 1]
mov edx, esi
call fcn.140135040
mov rdi, qword [rsp + 0x20]
mov ebx, eax
test eax, eax
jne 0x1401866a7
cmp qword [rdi + 0x20], 0
jne 0x1401866c7
mov qword [rdi + 0x20], r13
cmp esi, 0x7fffffff
ja 0x14018664e
mov eax, dword [0x140470d84]
movsxd rcx, dword [r13 + 0xa0]
cdq
idiv ecx
inc eax
cmp esi, eax
je 0x14018664e
cmp byte [r13 + 0x12], bl
jne 0x14018662f
cmp dword [r13 + 0x1c], esi
jb 0x14018662f
mov rax, qword [r13 + 0x48]
cmp qword [rax], 0
je 0x14018662f
mov rcx, rdi
call fcn.14015a8c0
mov ebx, eax
test eax, eax
je 0x1401866c7
jmp 0x140186671
cmp esi, dword [r13 + 0xa4]
jbe 0x14018663f
mov ebx, 0xd
jmp 0x140186671
mov r8, rcx
mov rcx, qword [rdi]
xor edx, edx
call fcn.1400c7360
jmp 0x1401866c7
lea r9, [0x140382184]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0xa354
mov ecx, VariantTimeToDosDateTime
call fcn.140154180
mov ebx, VariantTimeToDosDateTime
test byte [rdi + 0x28], 2
je 0x14018667f
mov rcx, rdi
call fcn.140135370
mov rcx, qword [rdi + 0x30]
dec dword [rcx + 0x18]
cmp dword [rdi + 0x18], 1
jne 0x140186694
mov qword [rcx + 0x48], 0
mov rcx, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rdi
call qword [0x140470f50]
mov rax, qword [r13 + 0xe0]
cmp dword [rax + 0x18], 0
jne 0x1401866bc
mov rcx, r13
call fcn.140173450
xor edi, edi
mov qword [rsp + 0x20], rdi
test ebx, ebx
jne 0x1401866fd
mov r8, qword [rdi]
mov rcx, qword [rsp + 0x90]
mov edx, esi
call fcn.140168240
mov rsi, qword [rdi + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.14013c530
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], 0
jne 0x1401866fd
mov rcx, rsi
call fcn.140173450
mov rdx, qword [rsp + 0x90]
inc dword [rdx + 0x18]
inc ebp
jmp 0x140186530
test ebx, ebx
jne 0x140186763
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 0x14018676c
mov r12, qword [rsp + 0x90]
cmp dword [r12 + 0x3c], ebx
jne 0x1401869f6
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 0x1401869f6
cmp ebx, 0x65
jne 0x1401869ee
mov r8d, dword [rdx + 0x10]
mov rsi, qword [rsp + 0x90]
mov edx, 1
mov rcx, qword [rsi + 8]
inc r8d
call fcn.1401684e0
mov ebx, eax
test eax, eax
jne 0x1401869ee
mov rcx, qword [rsi]
test rcx, rcx
je 0x1401867a3
or edx, 0xffffffff
call fcn.14014fad0
cmp r15d, r14d
jge 0x1401867dc
mov eax, r14d
cdq
idiv r15d
mov ecx, eax
lea eax, [rax + r12 - 1]
cdq
idiv ecx
mov rcx, qword [rsi + 8]
xor edx, edx
mov r8, qword [rcx + 8]
mov r9d, eax
mov eax, dword [0x140470d84]
div dword [r8 + 0x34]
inc eax
cmp r9d, eax
jne 0x1401867ea
dec r9d
jmp 0x1401867ea
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 0x140186afc
mov r13, r15
mov r15, r12
mov r12, qword [rdi + 0x48]
lea r8d, [rdx + 1]
imul r15, r13
call fcn.140180ab0
mov edx, dword [0x140470d84]
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 0x1401869ee
cmp rbp, r14
jge 0x140186a79
mov rax, rbp
xor edi, edi
cqo
mov qword [rsp + 0x20], rdi
idiv r13
mov rsi, rax
inc esi
jne 0x140186884
lea r9, [0x140382184]
lea rdx, str.database_corruption_at_line__d_of___.10s_
lea ecx, [rdi + 0xb]
mov r8d, 0xa32d
call fcn.140154180
lea ebx, [rdi + 0xb]
jmp 0x1401869e3
mov r10, qword [rsp + 0x28]
mov ebx, dword [r10 + 0x2c]
test ebx, ebx
jne 0x14018698f
mov rcx, qword [r10 + 0xe0]
lea r9, [rsp + 0x20]
lea r8d, [rbx + 1]
mov edx, esi
call fcn.140135040
mov rdi, qword [rsp + 0x20]
mov r10, qword [rsp + 0x28]
mov ebx, eax
test eax, eax
jne 0x14018698f
cmp qword [rdi + 0x20], 0
jne 0x1401869ac
mov qword [rdi + 0x20], r10
cmp esi, 0x7fffffff
ja 0x140186936
mov eax, dword [0x140470d84]
movsxd rcx, dword [r10 + 0xa0]
cdq
idiv ecx
inc eax
cmp esi, eax
je 0x140186936
cmp byte [r10 + 0x12], bl
jne 0x140186917
cmp dword [r10 + 0x1c], esi
jb 0x140186917
mov rax, qword [r10 + 0x48]
cmp qword [rax], 0
je 0x140186917
mov rcx, rdi
call fcn.14015a8c0
mov ebx, eax
test eax, eax
je 0x1401869ac
jmp 0x140186959
cmp esi, dword [r10 + 0xa4]
jbe 0x140186927
mov ebx, 0xd
jmp 0x140186959
mov r8, rcx
mov rcx, qword [rdi]
xor edx, edx
call fcn.1400c7360
jmp 0x1401869ac
lea r9, [0x140382184]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0xa354
mov ecx, VariantTimeToDosDateTime
call fcn.140154180
mov ebx, VariantTimeToDosDateTime
test byte [rdi + 0x28], 2
je 0x140186967
mov rcx, rdi
call fcn.140135370
mov rcx, qword [rdi + 0x30]
dec dword [rcx + 0x18]
cmp dword [rdi + 0x18], 1
jne 0x14018697c
mov qword [rcx + 0x48], 0
mov rcx, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rdi
call qword [0x140470f50]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + 0xe0]
cmp dword [rax + 0x18], 0
jne 0x1401869a6
call fcn.140173450
xor edi, edi
test ebx, ebx
jne 0x1401869e3
mov rax, qword [r12]
mov rdx, qword [rdi]
mov r9, rbp
mov r8d, r13d
mov rcx, r12
call qword [rax + 0x18]
mov rsi, qword [rdi + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.14013c530
mov r11, qword [rsi + 0xe0]
cmp dword [r11 + 0x18], 0
jne 0x1401869e3
mov rcx, rsi
call fcn.140173450
add rbp, r13
test ebx, ebx
je 0x140186841
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 0x140186c31
mov rcx, qword [r12 + 0x28]
xor edx, edx
call fcn.140184410
mov rdi, qword [r12 + 0x28]
cmp byte [rdi + 0x10], 0
je 0x140186c31
mov rcx, rdi
call fcn.14013f800
cmp byte [rdi + 0x10], 2
jne 0x140186c07
mov rbp, qword [rdi + 8]
mov rsi, qword [rbp]
mov eax, dword [rsi + 0x2c]
test eax, eax
jne 0x140186c0f
cmp byte [rsi + 0x13], 2
jne 0x140186bdf
cmp byte [rsi + 8], al
je 0x140186bdf
cmp byte [rsi + 9], 1
jne 0x140186bdf
mov byte [rsi + 0x13], 1
jmp 0x140186c03
test ebx, ebx
jne 0x1401869ee
mov rax, qword [r12]
lea rdx, [rsp + 0xa0]
mov rcx, r12
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x140186ab2
cmp qword [rsp + 0xa0], r15
jle 0x140186ab2
mov rax, qword [r12]
mov rdx, r15
mov rcx, r12
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x1401869ee
mov rdi, qword [rsp + 0x30]
mov dword [rsp + 0xa0], ebx
mov rcx, qword [rdi + 0x48]
cmp byte [rdi + 0xc], bl
jne 0x140186adb
mov rax, qword [rcx]
movzx edx, byte [rdi + 0xf]
call qword [rax + 0x28]
jmp 0x140186b04
cmp qword [rcx], rbx
je 0x140186b06
mov rax, qword [rcx]
lea r8, [rsp + 0xa0]
mov edx, 8
call qword [rax + 0x50]
mov ebx, dword [rsp + 0xa0]
jmp 0x140186b06
xor r8d, r8d
call fcn.140180ab0
mov ebx, eax
test ebx, ebx
jne 0x1401869ee
mov r12, qword [rsp + 0x90]
mov rdi, qword [r12 + 8]
cmp byte [rdi + 0x10], bl
je 0x140186b80
mov rcx, rdi
call fcn.14013f800
cmp byte [rdi + 0x10], 2
jne 0x140186b56
mov rbp, qword [rdi + 8]
mov rsi, qword [rbp]
mov ebx, dword [rsi + 0x2c]
test ebx, ebx
jne 0x140186bb0
cmp byte [rsi + 0x13], 2
jne 0x140186b8a
cmp byte [rsi + 8], bl
je 0x140186b8a
cmp byte [rsi + 9], 1
jne 0x140186b8a
mov byte [rsi + 0x13], 1
mov byte [rbp + 0x27], 1
mov rcx, rdi
call fcn.14017af30
cmp byte [rdi + 0x11], 0
je 0x140186b80
dec dword [rdi + 0x14]
jne 0x140186b80
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140186b7c
call qword [0x140470f00]
mov byte [rdi + 0x12], 0
mov ebx, 0x65
jmp 0x1401869f6
movzx edx, byte [rsi + 0x16]
mov rcx, rsi
call fcn.140144980
mov ebx, eax
movzx eax, al
cmp eax, 0xd
je 0x140186ba5
cmp eax, 0xa
jne 0x140186bac
mov dword [rsi + 0x2c], ebx
mov byte [rsi + 0x13], 6
test ebx, ebx
je 0x140186b52
cmp byte [rdi + 0x11], 0
je 0x1401869f6
dec dword [rdi + 0x14]
jne 0x1401869f6
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140186bd6
call qword [0x140470f00]
mov byte [rdi + 0x12], 0
jmp 0x1401869f6
movzx edx, byte [rsi + 0x16]
mov rcx, rsi
call fcn.140144980
movzx ecx, al
cmp ecx, 0xd
je 0x140186bf8
cmp ecx, 0xa
jne 0x140186bff
mov dword [rsi + 0x2c], eax
mov byte [rsi + 0x13], 6
test eax, eax
jne 0x140186c0f
mov byte [rbp + 0x27], 1
mov rcx, rdi
call fcn.14017af30
cmp byte [rdi + 0x11], 0
je 0x140186c31
dec dword [rdi + 0x14]
jne 0x140186c31
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140186c2d
call qword [0x140470f00]
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 0x140186c66
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140186c66
call qword [0x140470f00]
mov rdi, qword [r12 + 0x28]
cmp byte [rdi + 0x11], 0
je 0x140186c8d
dec dword [rdi + 0x14]
jne 0x140186c8d
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140186c89
call qword [0x140470f00]
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 0x140186cab
call qword [0x140470f00]
mov eax, ebx
add rsp, 0x80
pop rbx
ret