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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x128
mov r14, qword [rbp + 0x90]
lea rax, [r8 + 0x68]
mov r15, rcx
mov r11, qword [r14 + 0x48]
mov qword [rbp - 0x78], rax
mov rax, qword [rcx]
mov rcx, qword [r8 + 8]
mov qword [rbp - 0x60], rax
movzx eax, byte [r14 + 0x2c]
imul rax, rax, 0x70
mov r12d, dword [rax + rcx + 0x4c]
mov qword [rsp + 0x50], rcx
lea rcx, [r8 + 0x290]
mov r13, rdx
xor esi, esi
mov edx, r12d
mov ebx, r9d
mov rdi, r8
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r11
mov qword [rbp - 0x38], rax
mov dword [rsp + 0x30], r12d
call fcn.140071aec
mov r8, qword [rsp + 0x50]
not rax
mov ecx, ebx
and rax, qword [rbp + 0x98]
mov qword [r14 + 0x50], rax
mov r10, qword [rdi + 0x58]
mov edi, dword [r15 + 0x44]
dec edi
shr r10, cl
mov dword [r15 + 0x44], edi
and r10d, 1
mov dword [r14 + 0x10], edi
mov dword [r14 + 0xc], edi
mov eax, dword [r15 + 0x44]
mov dword [rsp + 0x58], edi
dec eax
mov qword [rsp + 0x70], r10
mov dword [r15 + 0x44], eax
mov dword [rbp - 0x80], eax
mov dword [r14 + 0x18], eax
cmp byte [r14 + 0x2c], sil
jbe 0x14006f808
mov rax, qword [rbp - 0x38]
test byte [rax + r8 + 0x44], 8
je 0x14006f808
mov r9d, dword [r15 + 0x38]
lea edx, [rsi + 0x46]
xor r8d, r8d
inc r9d
mov rcx, r13
mov dword [rsp + 0x20], esi
mov dword [r15 + 0x38], r9d
mov dword [r14], r9d
call fcn.140031350
mov r11, qword [rsp + 0x68]
mov r10, qword [rsp + 0x70]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rbp + 0x80]
test ebx, ebx
jle 0x14006f827
movsxd rax, ebx
imul rcx, rax, 0x58
cmp dword [rcx + rdx + 0x398], esi
jne 0x14006f827
dec ebx
jmp 0x14006f80f
movsxd rax, ebx
mov ebx, 0x200
imul rcx, rax, 0x58
mov r9d, dword [rcx + rdx + 0x3a4]
mov rcx, qword [rbp - 0x38]
test byte [rcx + r8 + 0x48], 0x10
je 0x14006f8e0
mov eax, dword [rcx + r8 + 0x38]
mov ebx, dword [rcx + r8 + 0x3c]
xor r9d, r9d
lea edx, [r9 + 0xd]
mov rcx, r13
mov r8d, ebx
mov dword [rsp + 0x20], eax
call fcn.140031350
mov r9d, edi
mov r8d, ebx
mov edx, reloc.Cabinet.dll_FCIDestroy
mov rcx, r13
mov dword [rsp + 0x20], esi
call fcn.140031350
mov byte [r14 + 0x2d], reloc.Cabinet.dll_FCIAddFile
mov dword [r14 + 0x34], eax
mov rdx, qword [rbp + 0x80]
mov r8, qword [rsp + 0x50]
mov rax, rsi
neg rax
lea rax, [rdx + 0x68]
sbb ecx, ecx
add ecx, 2
mov r12d, dword [rax + 0x14]
mov rbx, qword [rax + 0x20]
mov edi, esi
test r12d, r12d
jle 0x140070800
movsxd r13, ecx
movzx ecx, word [rbx + 0x12]
test cl, 6
jne 0x1400707e0
mov rax, qword [rbx + 0x38]
test qword [r14 + 0x50], rax
je 0x140070772
mov byte [rdx + 0x46], 1
jmp 0x1400707e0
mov r8d, dword [r11 + 0x28]
mov eax, 0x400
test eax, r8d
je 0x14006fb81
movzx r12d, word [r11 + 0x2c]
mov rcx, r15
lea edx, [r12 + 2]
call fcn.14004801c
mov r8d, dword [r14 + 0xc]
mov ebx, esi
mov dword [rbp + 0x90], r8d
mov dword [rbp + 0x88], eax
test r12d, r12d
jle 0x14006f992
mov rdi, rsi
lea r13d, [rax + 2]
mov rcx, qword [r11 + 0x38]
mov rdx, qword [rdi + rcx]
test rdx, rdx
je 0x14006f978
test byte [rdx + 0x14], 1
mov rcx, r15
je 0x14006f95d
lea eax, [rbx + r13]
mov r9d, ebx
mov r8, r14
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r10d
call fcn.14006ecac
mov eax, dword [r14 + 0x10]
mov dword [rbp + 0x90], eax
jmp 0x14006f973
mov rdx, qword [rdx]
lea r8d, [rbx + r13]
mov r9d, 1
mov rdx, qword [rdx + 0x18]
call fcn.14006f480
mov r11, qword [rsp + 0x68]
mov r10, qword [rsp + 0x70]
inc ebx
add rdi, 8
cmp ebx, r12d
jl 0x14006f923
mov r13, qword [rbp + 0x78]
mov eax, dword [rbp + 0x88]
mov r8d, dword [r11 + 0x18]
mov ebx, Ordinal_73
mov r9d, eax
mov rcx, r13
mov edx, ebx
mov dword [rsp + 0x20], esi
call fcn.140031350
mov r9d, dword [rbp + 0x88]
mov r8d, r12d
mov edx, ebx
mov rcx, r13
inc r9d
mov dword [rsp + 0x20], esi
call fcn.140031350
mov rbx, qword [rsp + 0x68]
mov al, byte [rbx + 0x1c]
mov r9d, dword [rbp + 0x90]
mov r8d, dword [rsp + 0x30]
mov rbx, qword [rbx + 0x20]
neg al
mov eax, dword [rbp + 0x88]
sbb edi, edi
mov edx, 9
mov rcx, r13
mov dword [rsp + 0x20], eax
and edi, 0xfffffffa
call fcn.140031350
lea r9d, [rdi - 1]
mov r8, rbx
mov rcx, r13
mov edx, eax
call fcn.140031c10
mov eax, dword [rsp + 0x30]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rbp + 0x80]
mov byte [r8 + 0x1c], sil
mov dword [r14 + 0x30], eax
mov al, byte [rdx + 0x45]
lea ebx, [r12 - 1]
neg al
sbb cl, cl
and cl, 0x6e
add cl, 0x3c
mov byte [r14 + 0x2d], cl
mov eax, dword [r13 + 0x90]
mov dword [r14 + 0x34], eax
test ebx, ebx
js 0x14006f892
movsxd rax, dword [r14 + 0x38]
movsxd r12, ebx
lea rcx, [rax + rax*4]
shl rcx, 2
shl r12, 3
mov qword [rbp + 0x90], rcx
mov rax, qword [r8 + 0x38]
mov rdx, qword [r12 + rax]
mov qword [rbp + 0x70], rdx
cmp ebx, 0x10
jge 0x14006fa9d
movzx eax, word [r8 + 0x1e]
movzx ecx, bx
shr ax, cl
test al, 1
je 0x14006fa96
mov rcx, r14
call fcn.14006e964
jmp 0x14006fb64
mov rcx, qword [rbp + 0x90]
test byte [rdx + 0x14], 1
je 0x14006fb69
mov rax, qword [rbp - 0x60]
cmp byte [rax + 0x61], sil
jne 0x14006fae6
mov rax, qword [r14 + 0x40]
sub rcx, 0x14
mov edx, dword [rax + rcx + 4]
mov qword [rbp + 0x90], rcx
mov rcx, r13
call fcn.140031d00
mov ecx, dword [rax + 0xc]
movzx edx, byte [rax]
mov r9d, dword [rax + 8]
mov r8d, dword [rax + 4]
mov dword [rsp + 0x20], ecx
mov rcx, r13
call fcn.140031350
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
lea edx, [r9 + 0x35]
call fcn.1400425b4
mov rdi, rax
test rax, rax
je 0x14006fb64
mov rcx, qword [rbp + 0x70]
lea r8, [rbp - 0x50]
xor r9d, r9d
mov rcx, qword [rcx]
mov qword [rbp - 0x50], rsi
mov dword [rbp - 0x48], esi
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rbp - 0x60]
mov qword [rax + 0x10], rdx
mov edx, 0xab
call fcn.1400423e8
mov qword [rdi + 0x18], rax
test rax, rax
je 0x14006fb54
mov ecx, dword [rbp + 0x88]
xor r9d, r9d
mov rdx, rdi
add ecx, 2
add ecx, ebx
mov dword [rax + 0x28], ecx
mov r8d, dword [r14 + 0x18]
mov rcx, r15
call fcn.140046fc8
mov rcx, qword [rbp - 0x60]
mov rdx, rdi
mov qword [rdi + 0x10], rsi
call fcn.14004297c
mov r8, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x90]
sub r12, 8
dec ebx
jns 0x14006fa69
jmp 0x14006f88b
mov eax, r8d
and eax, 0x100
je 0x14006fc26
test r8b, 5
je 0x14006fc26
mov rax, qword [r11 + 0x38]
xor r9d, r9d
mov r8, r14
mov rbx, qword [rax]
inc dword [r15 + 0x38]
mov edi, dword [r15 + 0x38]
mov rdx, rbx
mov rcx, r15
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r10d
call fcn.14006ecac
cmp eax, edi
je 0x14006fbe2
test edi, edi
je 0x14006fbe2
cmp byte [r15 + 0x1f], 8
jae 0x14006fbe2
movzx ecx, byte [r15 + 0x1f]
mov dword [r15 + rcx*4 + 0xbc], edi
inc byte [r15 + 0x1f]
mov r9d, dword [r14 + 0x10]
mov r8d, r12d
mov edx, SQLFreeHandle
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.140031350
mov rdx, qword [rbp + 0x80]
mov r8, qword [rsp + 0x50]
mov byte [r14 + 0x2d], 0xaa
mov rax, qword [rbx + 0x38]
test qword [r14 + 0x50], rax
mov rax, rsi
jne 0x14006f89a
or word [rbx + 0x12], 4
jmp 0x14006f89a
test eax, eax
je 0x14006fe90
test r8b, 2
je 0x14006fe90
mov edi, 0xaa
mov dword [rbp + 0x70], esi
mov eax, esi
mov r12, rsi
mov rbx, rsi
test r8b, 0x20
je 0x14006fc5a
mov rax, qword [r11 + 0x38]
mov rbx, qword [rax]
mov eax, 1
test r8b, 0x10
je 0x14006fc6b
movsxd rcx, eax
mov rax, qword [r11 + 0x38]
mov r12, qword [rax + rcx*8]
test r10d, r10d
je 0x14006fc79
mov rax, rbx
mov rbx, r12
mov r12, rax
test rbx, rbx
je 0x14006fd69
mov rdx, qword [rbx]
mov dword [rbp + 0x88], 0x18161719
mov r9, qword [rdx + 0x18]
mov qword [rbp - 0x50], rdx
mov rcx, r9
call fcn.140041fec
cmp eax, 1
jle 0x14006fcfc
mov al, byte [r15 + 0x1f]
test al, al
jne 0x14006fcb6
inc dword [r15 + 0x38]
mov ebx, dword [r15 + 0x38]
jmp 0x14006fcc7
dec al
movzx eax, al
mov byte [r15 + 0x1f], al
mov ebx, dword [r15 + rax*4 + 0xbc]
mov rdx, qword [rdx + 0x18]
mov r9d, 1
mov r8d, ebx
mov rcx, r15
mov dword [rbp + 0x90], ebx
call fcn.14006f480
mov rcx, qword [rbp - 0x50]
movzx eax, byte [rcx]
inc eax
and eax, 2
or rax, 1
movzx edx, byte [rbp + rax + 0x88]
jmp 0x14006fd2f
lea r8, [rsp + 0x78]
mov rdx, r9
mov rcx, r15
call fcn.1400467a8
mov rdx, rbx
mov rcx, r14
mov dword [rbp + 0x90], eax
call fcn.14006e964
mov rcx, qword [rbp - 0x50]
movzx r10d, byte [rcx]
mov ebx, dword [rsp + 0x78]
movzx edx, byte [rbp + r10 + 0x52]
mov eax, dword [rbp + 0x90]
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x30]
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.140031350
test ebx, ebx
je 0x14006fd87
cmp byte [r15 + 0x1f], 8
jae 0x14006fd87
movzx eax, byte [r15 + 0x1f]
mov dword [r15 + rax*4 + 0xbc], ebx
inc byte [r15 + 0x1f]
jmp 0x14006fd87
mov r8d, dword [rsp + 0x30]
mov eax, r10d
mov rcx, r13
neg eax
mov dword [rsp + 0x20], esi
sbb edx, edx
and edx, 0xfffffffc
add edx, 0x24
call fcn.140031350
test r12, r12
je 0x14006fdfd
mov rbx, qword [r12]
inc dword [r15 + 0x38]
mov eax, dword [r15 + 0x38]
mov rdx, qword [rbx + 0x18]
mov r9d, 1
mov r8d, eax
mov rcx, r15
mov dword [rbp + 0x70], eax
call fcn.14006f480
mov rcx, qword [rbx + 0x18]
call fcn.140041fec
cmp eax, 1
jg 0x14006fdd6
mov al, byte [rbx]
sub al, 0x36
test al, 0xfd
jne 0x14006fdd6
mov eax, dword [rsp + 0x70]
neg eax
sbb edi, edi
and edi, 0xfffffffe
add edi, 0x39
jmp 0x14006fde4
mov eax, dword [rsp + 0x70]
neg eax
sbb edi, edi
and edi, 2
add edi, 0x36
mov rcx, qword [rbx + 0x18]
call fcn.140041fec
cmp eax, 1
jg 0x14006fdfd
mov rdx, r12
mov rcx, r14
call fcn.14006e964
mov ecx, dword [r13 + 0x90]
neg dword [rsp + 0x70]
mov r12d, dword [rsp + 0x30]
sbb al, al
mov dword [r14 + 0x30], r12d
mov dword [r14 + 0x34], ecx
add al, 5
mov byte [r14 + 0x2d], al
cmp edi, 0xaa
je 0x14006f88b
inc dword [r15 + 0x38]
mov ebx, dword [r15 + 0x38]
mov r8d, r12d
mov edx, 0x80
mov rcx, r13
mov r9d, ebx
mov dword [rsp + 0x20], esi
call fcn.140031350
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rbp + 0x70]
mov edx, edi
mov rcx, r13
mov dword [rsp + 0x20], ebx
call fcn.140031350
movsxd rax, dword [r13 + 0x90]
mov r8, qword [rsp + 0x50]
test eax, eax
jle 0x14006fe84
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
mov edx, 0x53
mov word [rax + rcx*8 - 0x16], dx
mov rdx, qword [rbp + 0x80]
jmp 0x14006f897
test ebx, r8d
je 0x140070715
movzx ebx, word [r11 + 0x18]
movzx eax, word [r11 + 0x1c]
movzx r10d, word [r11 + 0x1a]
mov word [rsp + 0x34], ax
mov rax, qword [r11 + 0x20]
mov word [rbp - 0x70], bx
mov qword [rsp + 0x60], rax
mov eax, dword [r14 + 8]
mov word [rsp + 0x44], r10w
mov rdi, rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x58], rsi
mov dword [rsp + 0x3c], eax
mov r9d, esi
mov qword [rbp - 0x40], rsi
mov byte [rbp + 0x88], sil
mov byte [rsp + 0x36], sil
mov dword [rsp + 0x40], esi
mov r12d, ebx
mov dword [rsp + 0x38], ebx
mov edx, ebx
test r8b, 0x20
je 0x14006ff11
mov rax, qword [r11 + 0x38]
inc edx
mov rdi, qword [rax + rbx*8]
movzx eax, r10w
test eax, eax
mov qword [rbp - 0x50], rdi
cmovns r9d, eax
test r8b, 0x10
je 0x14006ff7d
mov rax, qword [r11 + 0x38]
movsxd rcx, edx
mov r11, qword [rax + rcx*8]
movzx eax, word [rsp + 0x34]
cmp r9d, eax
mov qword [rbp - 0x58], r11
cmovle r9d, eax
test rdi, rdi
jne 0x14006ff80
mov rax, qword [rsp + 0x60]
movzx ecx, bx
mov rax, qword [rax + 8]
movsx r10, word [rax + rcx*2]
test r10d, r10d
js 0x14006ff68
mov rax, qword [rsp + 0x60]
mov rdx, r10
mov rax, qword [rax + 0x18]
shl rdx, 5
mov rcx, qword [rax + 8]
cmp byte [rdx + rcx + 0x18], sil
je 0x14006ff6e
cmp r10d, 0xfffffffe
jne 0x14006ff75
mov byte [rbp + 0x88], 1
movzx r10d, word [rsp + 0x44]
jmp 0x14006ff80
mov r11, rsi
test r8b, 0x30
jne 0x14006ffbb
bt r8d, 0x13
jae 0x14006ffbb
inc dword [r15 + 0x38]
mov eax, dword [r15 + 0x38]
mov r9d, 1
mov dword [r14 + 0x24], eax
dec dword [r15 + 0x44]
mov dword [rsp + 0x40], eax
mov eax, dword [r15 + 0x44]
mov r8b, r9b
mov byte [rbp + 0x88], r9b
mov dword [r14 + 0x28], eax
jmp 0x14006ffc2
mov r8b, byte [rbp + 0x88]
mov rax, qword [rsp + 0x60]
cmp bx, word [rax + 0x5e]
jae 0x140070078
mov rax, qword [rax + 0x38]
movzx ecx, bx
mov edx, esi
cmp byte [rcx + rax], sil
mov rcx, qword [rsp + 0x70]
sete dl
cmp ecx, edx
je 0x14006fff9
mov rax, qword [rsp + 0x60]
test ecx, ecx
je 0x14007002a
cmp word [rax + 0x5e], bx
jne 0x14007002a
mov rax, r11
mov qword [rbp - 0x58], rdi
mov byte [rsp + 0x36], r8b
mov qword [rbp - 0x50], rax
mov al, r10b
movzx r10d, word [rsp + 0x34]
movzx eax, al
mov rdi, r11
mov byte [rbp + 0x88], sil
mov word [rsp + 0x44], r10w
mov word [rsp + 0x34], ax
lea rax, [rbp - 0x68]
mov r8d, ecx
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14006f0dc
mov ecx, eax
mov dword [rsp + 0x48], eax
cmp qword [rbp - 0x68], rsi
je 0x14007006c
cmp word [rsp + 0x34], si
je 0x14007006c
mov rcx, qword [rbp - 0x60]
movzx edx, bx
add rdx, qword [rbp - 0x68]
call fcn.140016770
mov ecx, dword [rsp + 0x48]
mov qword [rbp - 0x40], rax
cmp dword [rsp + 0x40], esi
je 0x140070082
mov eax, dword [r14 + 0x28]
jmp 0x140070086
mov rcx, qword [rsp + 0x70]
jmp 0x14006ffef
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x5c], eax
test rdi, rdi
je 0x140070099
test byte [rdi + 0x14], 0x28
mov dword [rsp + 0x7c], esi
je 0x1400700a1
mov dword [rsp + 0x7c], 1
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x1400700b4
test byte [rax + 0x14], 0x28
mov dword [rsp + 0x58], esi
je 0x1400700bc
mov dword [rsp + 0x58], 1
test rdi, rdi
jne 0x1400700ca
mov dword [rsp + 0x78], esi
test bx, bx
je 0x1400700d2
mov dword [rsp + 0x78], 1
mov ebx, r12d
mov eax, reloc.WLDAP32.dll_Ordinal_73
test rdi, rdi
je 0x14007017a
mov rax, qword [rdi]
movzx r12d, word [rsp + 0x44]
mov r8d, ebx
mov rdi, qword [rax + 0x18]
add r8d, ecx
mov rcx, r15
mov rdx, rdi
mov r9d, r12d
call fcn.14006f480
mov rcx, rdi
call fcn.140043b14
test eax, eax
je 0x14007012e
mov r9d, dword [rsp + 0x5c]
mov r8d, ebx
mov edx, Ordinal_54
add r8d, dword [rsp + 0x48]
mov rcx, r13
mov dword [rsp + 0x20], esi
call fcn.140031350
cmp qword [rbp - 0x68], rsi
je 0x140070147
movzx r8d, bx
mov edx, r12d
mov rcx, rdi
add r8, qword [rbp - 0x68]
call fcn.14006ea58
mov rcx, rdi
add ebx, r12d
call fcn.140041fec
cmp eax, 1
jg 0x140070165
mov rdx, qword [rbp - 0x50]
mov rcx, r14
call fcn.14006e964
jmp 0x14007016d
mov dword [rsp + 0x7c], 1
mov edi, dword [rsp + 0x40]
mov byte [rbp + 0x88], sil
jmp 0x1400701c9
cmp byte [rbp + 0x88], sil
je 0x1400701a2
lea r9d, [r12 + rcx]
xor r8d, r8d
mov edx, eax
mov rcx, r13
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x20], esi
call fcn.140031350
mov edi, dword [rsp + 0x40]
jmp 0x1400701bf
mov edi, dword [rsp + 0x40]
test edi, edi
je 0x1400701c9
lea r9d, [r12 + rcx]
xor r8d, r8d
mov edx, eax
mov rcx, r13
mov dword [rsp + 0x20], esi
call fcn.140031350
inc ebx
mov dword [rsp + 0x78], 1
movzx eax, byte [rbp + 0x88]
mov r9, qword [rbp - 0x68]
mov edx, dword [rsp + 0x48]
mov r8d, ebx
mov rcx, r15
sub r8d, eax
call fcn.14006e9d4
mov rcx, qword [rsp + 0x68]
lea r12, [0x140000000]
cmp word [rcx + 0x2e], si
jbe 0x140070204
movzx eax, word [rcx + 0x2e]
cmp ebx, eax
je 0x1400702e0
test dword [rcx + 0x28], 0x40000
je 0x140070225
mov r8d, dword [rsp + 0x3c]
xor r9d, r9d
mov rcx, r13
lea edx, [r9 + 0x77]
mov dword [rsp + 0x20], esi
call fcn.140031350
test edi, edi
je 0x140070241
mov edx, Ordinal_73
mov r9d, edi
mov rcx, r13
lea r8d, [rdx - 0x45]
mov dword [rsp + 0x20], esi
call fcn.140031350
movsxd rax, dword [rsp + 0x7c]
movsxd rcx, dword [rsp + 0x78]
movsxd rdi, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x3c]
lea rcx, [rax + rcx*2]
lea rax, [rdi + rcx*2]
mov rcx, r13
mov dword [rsp + 0x28], ebx
movzx edx, byte [rax + r12 + 0xe4a68]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
call fcn.140031668
cmp dword [rsp + 0x40], esi
je 0x1400702e0
mov r9d, dword [r13 + 0x90]
xor r8d, r8d
mov rcx, r13
lea edx, [r8 + 0xb]
add r9d, 2
mov dword [rsp + 0x20], esi
call fcn.140031350
mov r9d, dword [rsp + 0x5c]
mov rax, rsi
mov r8d, ebx
sub r8d, dword [rsp + 0x7c]
cmp ebx, 1
setg al
mov dword [rsp + 0x28], r8d
mov r8d, dword [rsp + 0x3c]
lea rcx, [rdi + rax*4]
mov eax, dword [rsp + 0x48]
movzx edx, byte [rcx + r12 + 0xe4a6a]
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.140031668
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140070495
mov rax, qword [rax]
mov r12d, dword [rsp + 0x38]
movzx ebx, word [rsp + 0x34]
mov rdi, qword [rax + 0x18]
add r12d, dword [rsp + 0x48]
mov r9d, ebx
mov rdx, rdi
mov r8d, r12d
mov rcx, r15
call fcn.14006f480
mov rcx, rdi
call fcn.140043b14
test eax, eax
je 0x140070339
mov r9d, dword [rsp + 0x5c]
mov r8d, r12d
mov edx, Ordinal_54
mov rcx, r13
mov dword [rsp + 0x20], esi
call fcn.140031350
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x140070361
mov r8, rax
mov edx, ebx
mov rcx, rdi
call fcn.14006ea58
mov r9, qword [rbp - 0x40]
mov r8d, ebx
mov edx, r12d
mov rcx, r15
call fcn.14006e9d4
add dword [rsp + 0x38], ebx
mov rcx, rdi
call fcn.140041fec
cmp eax, 1
jg 0x140070488
mov rdx, qword [rbp - 0x58]
mov rcx, r14
call fcn.14006e964
lea r12, [0x140000000]
mov ebx, dword [rsp + 0x38]
mov edi, dword [rsp + 0x40]
cmp qword [rbp - 0x68], rsi
je 0x1400703a4
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
call fcn.140016390
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1400703b9
mov rcx, qword [rbp - 0x60]
mov rdx, rax
call fcn.140016390
mov eax, dword [r13 + 0x90]
mov dword [r14 + 0x34], eax
test ebx, ebx
je 0x140070420
test edi, edi
je 0x1400703eb
mov r9d, dword [r13 + 0x90]
mov r8d, edi
mov edx, SQLAllocHandle
mov rcx, r13
add r9d, 3
mov dword [rsp + 0x20], esi
call fcn.140031350
movsxd rax, dword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x3c]
lea rdx, [rax + rcx*2]
mov eax, dword [rsp + 0x48]
movzx edx, byte [rdx + r12 + 0xe2318]
mov rcx, r13
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call fcn.140031668
test edi, edi
je 0x1400704d1
mov r9d, dword [r13 + 0x90]
mov r8d, edi
mov edx, 0x12
mov rcx, r13
add r9d, 2
mov dword [rsp + 0x20], esi
call fcn.140031350
movzx edx, byte [rbp + 0x88]
movsxd rcx, dword [rsp + 0x70]
mov eax, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x5c]
lea r8d, [rbx + rdx]
lea rdx, [rdx + rcx*2]
mov dword [rsp + 0x28], r8d
mov rcx, r13
movzx edx, byte [rdx + r12 + 0xe2318]
mov r12d, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
mov r8d, r12d
call fcn.140031668
jmp 0x1400704d6
mov dword [rsp + 0x58], 1
jmp 0x140070382
cmp byte [rsp + 0x36], sil
je 0x140070389
mov edi, dword [rsp + 0x40]
mov ebx, dword [rsp + 0x38]
test edi, edi
jne 0x1400704ca
mov r9d, dword [rsp + 0x48]
lea edx, [rdi + 0x49]
xor r8d, r8d
mov rcx, r13
add r9d, ebx
mov dword [rsp + 0x20], esi
call fcn.140031350
mov dword [rsp + 0x58], esi
inc ebx
jmp 0x140070391
mov r12d, dword [rsp + 0x3c]
mov rbx, qword [rsp + 0x68]
test dword [rbx + 0x28], 0x40000
je 0x1400704fd
mov r9d, 1
mov r8d, r12d
mov rcx, r13
lea edx, [r9 + 0x76]
mov dword [rsp + 0x20], esi
call fcn.140031350
test byte [rbx + 0x28], 0x40
mov rax, qword [rbp + 0x80]
je 0x140070523
test byte [rax + 0x40], 0x20
jne 0x140070523
mov eax, dword [rsp + 0x30]
mov r10, qword [rsp + 0x60]
mov edi, 1
jmp 0x140070681
mov r10, qword [rsp + 0x60]
mov edi, esi
mov rbx, qword [r10 + 0x18]
test byte [rbx + 0x40], 0x20
jne 0x1400705a4
mov ecx, 0x400
test word [rax + 0x40], cx
jne 0x140070568
mov ecx, 0x1000
test word [rax + 0x40], cx
je 0x140070550
cmp byte [rax + 0x45], 1
je 0x140070568
mov r8d, dword [rsp + 0x30]
mov r9d, r12d
mov rdx, r10
mov rcx, rax
call fcn.14006f390
jmp 0x140070673
inc dword [r15 + 0x38]
mov ebx, dword [r15 + 0x38]
mov r8d, r12d
mov edx, Ordinal_139
mov rcx, r13
mov r9d, ebx
mov dword [rsp + 0x20], esi
call fcn.140031350
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
mov rcx, r13
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 0x1f]
call fcn.140031350
jmp 0x140070673
mov eax, dword [rsp + 0x30]
cmp eax, r12d
je 0x14007067c
mov rbx, qword [rbx + 0x10]
jmp 0x1400705c4
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1400705c9
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1400705b7
movzx edx, word [rbx + 0x5e]
mov rcx, r15
call fcn.14004801c
mov r12d, eax
cmp si, word [rbx + 0x5e]
jae 0x14007064e
mov r14d, dword [rsp + 0x3c]
or r15d, 0xffffffff
movzx r8d, word [r10 + 0x60]
mov edx, esi
test r8d, r8d
jle 0x140070614
mov rax, qword [rbx + 8]
mov r9, qword [r10 + 8]
movsxd rcx, edi
movzx r10d, word [rax + rcx*2]
movsxd rax, edx
cmp r10w, word [r9 + rax*2]
je 0x140070618
inc edx
cmp edx, r8d
jl 0x140070603
movzx edx, r15w
lea eax, [rdi + r12]
movsx r9d, dx
mov r8d, r14d
mov edx, 0x5a
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.140031350
movzx eax, word [rbx + 0x5e]
mov r10, qword [rsp + 0x60]
inc edi
cmp edi, eax
jl 0x1400705e7
mov r14, qword [rbp + 0x90]
mov r15, qword [rbp + 0x70]
movzx eax, word [rbx + 0x5e]
mov r9d, dword [rbp - 0x80]
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov edx, SQLFreeHandle
mov rcx, r13
mov dword [rsp + 0x20], r12d
call fcn.140031668
mov edi, esi
mov r10, qword [rsp + 0x60]
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x68]
mov r12d, dword [rsp + 0x3c]
cmp dword [r14], esi
jne 0x1400706a8
mov rcx, qword [rbp + 0x80]
test byte [rcx + 0x40], 0x20
jne 0x1400706a8
mov r9, rcx
mov r8d, r12d
mov edx, eax
mov rcx, r10
call fcn.14006f580
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x1400706c3
mov r8, qword [rbp - 0x78]
mov edx, dword [rsp + 0x30]
call fcn.14006f664
mov eax, 0x1000
test dword [rbx + 0x28], eax
je 0x1400706d4
mov byte [r14 + 0x2d], 0xaa
jmp 0x1400706e0
neg dword [rsp + 0x70]
sbb al, al
add al, 5
mov byte [r14 + 0x2d], al
mov dword [r14 + 0x30], r12d
mov al, byte [rbx + 0x2a]
and al, 1
mov byte [r14 + 0x2e], al
test byte [rbx + 0x28], 0xf
jne 0x1400706f8
mov byte [r14 + 0x2f], 1
mov rdx, qword [rbp + 0x80]
mov r8, qword [rsp + 0x50]
test edi, edi
je 0x140070768
mov rax, rsi
mov qword [rsp + 0x60], rax
jmp 0x14006f89a
mov r8, qword [rsp + 0x50]
test byte [rcx + r8 + 0x48], 0x20
je 0x14007072c
mov byte [r14 + 0x2d], 0xaa
jmp 0x14006f897
movsxd rcx, r10d
lea rdx, [0x140000000]
mov r8d, r12d
mov al, byte [rcx + rdx + 0xe2f28]
movzx edx, byte [rcx + rdx + 0xe0e44]
mov rcx, r13
mov dword [r14 + 0x30], r12d
mov dword [rsp + 0x20], esi
mov byte [r14 + 0x2d], al
call fcn.140031350
mov byte [r14 + 0x2f], 1
inc eax
jmp 0x14006f887
mov rax, qword [rsp + 0x60]
jmp 0x14006f89a
mov rdx, qword [rbp - 0x38]
mov rax, qword [rbx]
test byte [rdx + r8 + 0x44], 8
mov qword [rbp + 0x90], rax
je 0x14007078e
test byte [rax + 4], 1
je 0x1400707e0
cmp r13, 1
jne 0x1400707b2
mov r8, qword [rsp + 0x60]
mov edx, dword [r14 + 4]
mov rcx, rax
call fcn.140047c18
test eax, eax
jne 0x14007099e
lea edi, [rax + 2]
jmp 0x1400707e0
cmp r13, 3
jl 0x1400709a5
mov edx, 0x200
test dx, cx
jne 0x1400707e0
mov r8d, dword [rbp - 0x80]
mov r9d, 0x10
mov rdx, rax
mov rcx, r15
call fcn.140046fc8
or word [rbx + 0x12], 4
mov rdx, qword [rbp + 0x80]
mov r8, qword [rsp + 0x50]
dec r12d
add rbx, 0x40
test r12d, r12d
jg 0x14006f8bc
mov rax, qword [rbp - 0x78]
mov rdx, qword [rbp + 0x80]
mov r8, qword [rsp + 0x50]
mov ecx, edi
test edi, edi
jg 0x14006f8a6
mov edi, dword [rax + 0x14]
mov rbx, qword [rax + 0x20]
mov r13, qword [rbp + 0x78]
test edi, edi
jle 0x14007091c
mov r13d, dword [rsp + 0x30]
mov ecx, 0x800
test byte [rbx + 0x12], 6
jne 0x14007090a
test byte [rbx + 0x14], 0x82
je 0x14007090a
test word [rbx + 0x14], cx
je 0x14007090a
cmp dword [rbx + 0x1c], r13d
jne 0x14007090a
cmp dword [r14], esi
jne 0x14007090a
mov r9, qword [rbp + 0x98]
mov r8d, dword [rbx + 0x28]
mov r12, qword [rbx]
mov edx, r13d
mov rcx, rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], Ordinal_133
call fcn.140071e0c
mov rdx, rax
test rax, rax
je 0x140070901
test byte [rax + 0x12], 4
jne 0x140070901
test byte [rax + 0x14], 1
je 0x1400708b6
mov rax, qword [rax]
test dword [rax + 4], 0x800
je 0x1400708b6
mov rax, qword [rax + 0x20]
mov rcx, qword [rax]
cmp dword [rcx], 1
jg 0x140070901
mov rax, qword [rdx]
mov r8d, dword [rbp - 0x80]
lea rdx, [rbp - 0x30]
mov r9d, 0x10
mov rcx, r15
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp], xmm1
movsd xmm0, qword [rax + 0x40]
movsd qword [rbp + 0x10], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rbp - 0x20], rax
call fcn.140046fc8
mov rax, qword [rbp - 0x78]
mov ecx, 0x800
dec edi
add rbx, 0x40
test edi, edi
jg 0x140070833
mov r13, qword [rbp + 0x78]
cmp dword [r14], esi
je 0x140070986
mov eax, dword [r13 + 0x90]
mov r9d, dword [r14]
mov edx, Ordinal_73
lea r8d, [rdx - 0x45]
mov rcx, r13
mov dword [rsp + 0x20], esi
mov dword [r14 + 0x1c], eax
call fcn.140031350
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rdi + 0x20]
cmp dword [rdi + 0x14], esi
jle 0x140070986
test byte [rbx + 0x12], 6
jne 0x14007097b
mov rax, qword [rbx + 0x38]
test qword [r14 + 0x50], rax
jne 0x14007097b
mov r8d, dword [rbp - 0x80]
mov rdx, qword [rbx]
mov r9d, 0x10
mov rcx, r15
call fcn.140046fc8
or word [rbx + 0x12], 4
inc esi
add rbx, 0x40
cmp esi, dword [rdi + 0x14]
jl 0x140070951
mov rax, qword [r14 + 0x50]
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [rbp + 0x90]
movzx ecx, word [rbx + 0x12]
mov edx, 0x1000
test dx, cx
je 0x1400707bc
test edi, edi
jne 0x1400707e0
mov edi, 3
jmp 0x1400707e0