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

Disassembly:
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xc8], 0
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x61]
test eax, eax
je 0x1400c6a60
mov eax, 7
jmp 0x1400c7763
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 0x20
test eax, eax
je 0x1400c6a79
mov dword [rsp + 0x78], reloc.ODBC32.dll_SQLAllocHandle
jmp 0x1400c6a81
mov dword [rsp + 0x78], 0x1bf
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
je 0x1400c6aa1
mov eax, dword [rsp + 0x78]
and eax, 0xffffffc3
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1a]
mov word [rsp + 0x64], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1c]
mov word [rsp + 0x68], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2e]
mov word [rsp + 0x54], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
mov word [rsp + 0x6c], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x16]
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x180]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov rax, qword [rsp + 0x178]
mov r8d, dword [rax + 0x44]
mov rax, qword [rsp + 0x170]
mov rdx, qword [rax + 8]
lea rcx, [rsp + 0xf0]
call fcn.1400c3fe0
mov qword [rsp + 0x48], rax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 0x10]
movzx eax, word [rax + rcx]
mov word [rsp + 0x60], ax
movzx ecx, word [rsp + 0x60]
call fcn.1400c45c0
mov word [rsp + 0x5c], ax
jmp 0x1400c6ba7
lea rcx, [rsp + 0xf0]
call fcn.1400c3bb0
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x70], 0
jne 0x1400c7508
cmp qword [rsp + 0x48], 0
je 0x1400c7508
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x50], 0
movzx eax, word [rsp + 0x3c]
cmp eax, 0x100
je 0x1400c6bf0
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x12]
and eax, 0
test eax, eax
je 0x1400c6c0a
movzx eax, word [rsp + 0x38]
mov edx, eax
mov rcx, qword [rsp + 0x180]
call fcn.1400c43a0
test eax, eax
je 0x1400c6c0a
jmp 0x1400c6b95
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x30]
and rax, rcx
test rax, rax
je 0x1400c6c29
jmp 0x1400c6b95
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x12]
and eax, 0x100
test eax, eax
je 0x1400c6c4e
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
cmp eax, 0x10
jne 0x1400c6c4e
jmp 0x1400c6b95
mov rax, qword [rsp + 0x178]
movzx eax, byte [rax + 0x3c]
and eax, 8
test eax, eax
je 0x1400c6c78
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
jne 0x1400c6c78
jmp 0x1400c6b95
mov rax, qword [rsp + 0x180]
movzx eax, byte [rax + 0x62]
test eax, eax
je 0x1400c6cba
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x180]
movzx ecx, word [rcx + 0x5e]
dec ecx
cmp eax, ecx
jne 0x1400c6cba
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x28]
or eax, 2
mov rcx, qword [rsp + 0x170]
mov dword [rcx + 0x28], eax
jmp 0x1400c6cd3
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x28]
or eax, 1
mov rcx, qword [rsp + 0x170]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x8c]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x18], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x64]
mov word [rax + 0x1a], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x68]
mov word [rax + 0x1c], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x6c]
mov word [rax + 0x2c], cx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
inc eax
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
call fcn.1400c5c50
test eax, eax
je 0x1400c6d43
jmp 0x1400c7508
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x38]
mov rdx, qword [rsp + 0x48]
mov qword [rcx + rax*8], rdx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x2c], ax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0xd8]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
not rcx
and rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
movzx eax, word [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x1400c6f13
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 4]
and eax, 0x800
test eax, eax
je 0x1400c6e42
mov dword [rsp + 0x50], 0x2e
mov dword [rsp + 0x74], 0
jmp 0x1400c6df1
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
dec eax
cmp dword [rsp + 0x74], eax
jge 0x1400c6e40
movsxd rax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x38]
cmp qword [rcx + rax*8], 0
je 0x1400c6e3e
movsxd rax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0xa0]
cmp qword [rax], rcx
jne 0x1400c6e3e
mov dword [rsp + 0x50], 0
jmp 0x1400c6de7
jmp 0x1400c6e7e
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x20], 0
je 0x1400c6e7e
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x20]
cmp dword [rax], 0
je 0x1400c6e7e
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x20]
movsxd rax, dword [rax]
mov rcx, rax
call fcn.14002ebd0
cwde
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x64]
shr eax, 7
and eax, 1
test eax, eax
je 0x1400c6efb
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 0x10]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x7c], ax
movzx ecx, word [rsp + 0x50]
call fcn.1400c45c0
mov word [rsp + 0x80], ax
mov eax, 0xa
mov word [rsp + 0x84], ax
movsx eax, word [rsp + 0x7c]
movsx ecx, word [rsp + 0x80]
add eax, ecx
movsx ecx, word [rsp + 0x84]
add eax, ecx
movsx ecx, word [rsp + 0x5c]
mov edx, dword [rsp + 0x50]
add edx, ecx
mov ecx, edx
cmp eax, ecx
jge 0x1400c6efb
jmp 0x1400c6b95
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
or eax, 4
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
jmp 0x1400c7208
movzx eax, word [rsp + 0x3c]
and eax, 0x82
test eax, eax
je 0x1400c700c
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
or eax, 1
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
cmp dword [rsp + 0x88], 0xffffffff
je 0x1400c6f93
cmp dword [rsp + 0x88], 0
jl 0x1400c7007
movsx eax, word [rsp + 0x188]
test eax, eax
jne 0x1400c7007
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x180]
movzx ecx, word [rcx + 0x5e]
dec ecx
cmp eax, ecx
jne 0x1400c7007
cmp dword [rsp + 0x88], 0xffffffff
je 0x1400c6fdd
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x64]
shr eax, 3
and eax, 1
test eax, eax
jne 0x1400c6fdd
mov rax, qword [rsp + 0x180]
movzx eax, word [rax + 0x5e]
cmp eax, 1
jne 0x1400c6ff3
mov rax, qword [rsp + 0x180]
movzx eax, byte [rax + 0x62]
test eax, eax
je 0x1400c6ff3
movzx eax, word [rsp + 0x3c]
cmp eax, 2
jne 0x1400c6ff3
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
bts eax, 0xc
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
jmp 0x1400c7007
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
bts eax, 0x10
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
jmp 0x1400c7208
movzx eax, word [rsp + 0x3c]
and eax, 0x100
test eax, eax
je 0x1400c7032
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
or eax, 8
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
jmp 0x1400c7208
movzx eax, word [rsp + 0x3c]
and eax, 0x24
test eax, eax
je 0x1400c715d
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
or eax, 0x22
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x180]
mov rax, qword [rsp + 0x178]
mov edx, dword [rax + 0x44]
mov rcx, qword [rsp + 0xb8]
call fcn.1400c6780
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x1a], ax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x12]
and eax, 0x100
test eax, eax
je 0x1400c7158
mov eax, 0x40
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
inc eax
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
call fcn.1400c5c50
test eax, eax
je 0x1400c7104
jmp 0x1400c7508
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x38]
mov rdx, qword [rsp + 0xa8]
mov qword [rcx + rax*8], rdx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x2c], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
or eax, 0x10
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
mov eax, 1
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x1c], ax
jmp 0x1400c7208
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
or eax, 0x12
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x180]
mov rax, qword [rsp + 0x178]
mov edx, dword [rax + 0x44]
mov rcx, qword [rsp + 0xb8]
call fcn.1400c6780
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x1c], ax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 0x20
test eax, eax
je 0x1400c71ec
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
sub eax, 2
cdqe
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xd0], rax
jmp 0x1400c71f8
mov qword [rsp + 0xd0], 0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 2
test eax, eax
je 0x1400c724b
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0xb8]
call fcn.1400c59d0
jmp 0x1400c7342
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
inc ax
mov word [rsp + 0x58], ax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x58]
mov word [rax + 0x18], cx
movzx eax, word [rsp + 0x58]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 0x10]
test eax, eax
jg 0x1400c72d3
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
test eax, eax
jl 0x1400c72d3
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 0x10]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
sub eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
jmp 0x1400c7342
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x98]
dec ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x180]
mov rdx, qword [rdx + 0x10]
movsx ecx, word [rdx + rcx*2]
sub eax, ecx
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
movzx eax, word [rsp + 0x3c]
and eax, 0x100
test eax, eax
je 0x1400c7342
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
add eax, 0xa
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
mov dword [rsp + 0xc4], eax
mov rcx, qword [rsp + 0x180]
movsx ecx, word [rcx + 0x5c]
imul ecx, ecx, 0xf
mov rdx, qword [rsp + 0x178]
mov rdx, qword [rdx + 0x20]
movsx edx, word [rdx + 0x4a]
mov dword [rsp + 0xc0], edx
mov eax, ecx
cdq
mov ecx, dword [rsp + 0xc0]
idiv ecx
mov ecx, dword [rsp + 0xc4]
lea eax, [rcx + rax + 1]
mov word [rsp + 0x94], ax
movzx edx, word [rsp + 0x94]
movzx ecx, word [rsp + 0x5c]
call fcn.14002eb00
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 0x140
test eax, eax
jne 0x1400c73e9
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
add eax, 0x10
movzx edx, ax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rax + 0x14]
call fcn.14002eb00
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x16]
mov word [rsp + 0x90], ax
movsx eax, word [rsp + 0x188]
add eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x14]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
movsx eax, word [rsp + 0x188]
add eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
movzx r8d, word [rsp + 0x60]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax + 8]
call fcn.1400c6540
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x170]
call fcn.1400c6310
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 2
test eax, eax
je 0x1400c748f
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
jmp 0x1400c74a0
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x90]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 0x10
test eax, eax
jne 0x1400c74f5
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
mov rcx, qword [rsp + 0x180]
movzx ecx, word [rcx + 0x60]
cmp eax, ecx
jge 0x1400c74f5
movsx eax, word [rsp + 0x188]
add eax, dword [rsp + 0x50]
movzx r9d, ax
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.1400c69c0
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
jmp 0x1400c6b95
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xd8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x18], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x64]
mov word [rax + 0x1a], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x68]
mov word [rax + 0x1c], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x54]
mov word [rax + 0x2e], cx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x8c]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x6c]
mov word [rax + 0x2c], cx
movzx eax, word [rsp + 0x38]
movzx ecx, word [rsp + 0x54]
cmp eax, ecx
jne 0x1400c775f
movzx eax, word [rsp + 0x38]
inc eax
mov rcx, qword [rsp + 0x180]
movzx ecx, word [rcx + 0x5e]
cmp eax, ecx
jge 0x1400c775f
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x64]
shr eax, 6
and eax, 1
test eax, eax
jne 0x1400c775f
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax + 0x5c]
and eax, 0x4000
test eax, eax
jne 0x1400c775f
movzx eax, word [rsp + 0x38]
inc eax
cdqe
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
cmp eax, 0x2a
jl 0x1400c775f
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
inc eax
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
call fcn.1400c5c50
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jne 0x1400c775f
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x18], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2e]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x2e], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x38]
mov qword [rcx + rax*8], 0
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x2c], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
bts eax, 0xf
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x38]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x180]
mov rdx, qword [rdx + 0x10]
movsx ecx, word [rdx + rcx*2]
sub eax, ecx
mov word [rsp + 0x40], ax
movsx eax, word [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
movsx eax, word [rsp + 0x40]
add eax, 5
mov word [rsp + 0x40], ax
movsx eax, word [rsp + 0x40]
movsx ecx, word [rsp + 0x188]
add eax, ecx
movzx r9d, ax
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.1400c69c0
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x18], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x54]
mov word [rax + 0x2e], cx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x8c]
mov dword [rax + 0x28], ecx
mov eax, dword [rsp + 0x70]
add rsp, 0x168
ret