Function at 0x14006fc14
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 qword [rbp - 0x50], rax
mov r15, rcx
mov rax, qword [rcx]
mov r12, rdx
mov rcx, qword [r8 + 8]
xor esi, esi
mov r11, qword [r14 + 0x48]
mov ebx, r9d
mov qword [rbp - 0x60], rax
mov r13, r8
movzx eax, byte [r14 + 0x2c]
imul rax, rax, 0x70
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x58], rsi
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x48], rax
mov edi, dword [rax + rcx + 0x4c]
lea rcx, [r8 + 0x290]
mov edx, edi
mov dword [rsp + 0x30], edi
call fcn.140071fdc
mov r8, qword [rsp + 0x48]
not rax
and rax, qword [rbp + 0x98]
mov ecx, ebx
mov qword [r14 + 0x50], rax
mov r10, qword [r13 + 0x58]
mov r13d, dword [r15 + 0x44]
dec r13d
shr r10, cl
mov dword [r15 + 0x44], r13d
and r10d, 1
mov dword [r14 + 0x10], r13d
mov dword [r14 + 0xc], r13d
mov eax, dword [r15 + 0x44]
dec eax
mov qword [rsp + 0x70], r10
mov dword [r15 + 0x44], eax
mov dword [rsp + 0x6c], r13d
mov dword [rbp - 0x80], eax
mov dword [r14 + 0x18], eax
cmp byte [r14 + 0x2c], sil
jbe 0x14006fd28
mov rax, qword [rsp + 0x58]
test byte [r8 + rax + 0x44], 8
je 0x14006fd28
mov r9d, dword [r15 + 0x38]
lea edx, [rsi + 0x46]
inc r9d
mov dword [rsp + 0x20], esi
mov dword [r15 + 0x38], r9d
xor r8d, r8d
mov rcx, r12
mov dword [r14], r9d
call fcn.140031860
mov r11, qword [rsp + 0x60]
mov r10, qword [rsp + 0x70]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rbp + 0x80]
test ebx, ebx
jle 0x14006fd47
movsxd rax, ebx
imul rcx, rax, 0x58
cmp dword [rcx + rdx + 0x398], esi
jne 0x14006fd47
dec ebx
jmp 0x14006fd2f
movsxd rax, ebx
mov ebx, 0x200
imul rcx, rax, 0x58
mov rax, qword [rsp + 0x58]
test byte [r8 + rax + 0x48], 0x10
mov r9d, dword [rcx + rdx + 0x3a4]
je 0x14006fe0d
mov ebx, dword [r8 + rax + 0x3c]
xor r9d, r9d
mov eax, dword [r8 + rax + 0x38]
mov rcx, r12
mov r8d, ebx
mov dword [rsp + 0x20], eax
lea edx, [r9 + 0xd]
call fcn.140031860
mov r9d, r13d
mov dword [rsp + 0x20], esi
mov r8d, ebx
mov edx, reloc.Cabinet.dll_FCIDestroy
mov rcx, r12
call fcn.140031860
mov dword [r14 + 0x34], eax
mov eax, reloc.Cabinet.dll_FCIAddFile
mov byte [r14 + 0x2d], al
mov rdx, qword [rbp + 0x80]
mov r8, qword [rsp + 0x48]
mov r11, qword [rsp + 0x58]
mov rax, rsi
neg rax
lea r10, [rdx + 0x68]
sbb r12d, r12d
add r12d, 2
mov edi, dword [r10 + 0x14]
mov r13d, esi
mov rbx, qword [r10 + 0x20]
test edi, edi
jle 0x140070d52
mov eax, 6
movzx ecx, word [rbx + 0x12]
test al, cl
jne 0x140070d27
mov rax, qword [rbx + 0x38]
test qword [r14 + 0x50], rax
je 0x140070cb7
mov byte [rdx + 0x46], 1
jmp 0x140070d22
mov r8d, dword [r11 + 0x28]
mov eax, 0x400
test eax, r8d
je 0x1400700b3
movzx r13d, word [r11 + 0x2c]
mov rcx, r15
lea edx, [r13 + 2]
call fcn.140048030
mov r8d, dword [r14 + 0xc]
mov ebx, esi
mov dword [rbp + 0x70], r8d
mov dword [rbp + 0x88], eax
test r13d, r13d
je 0x14006fec0
mov r12, qword [rsp + 0x70]
add eax, 2
mov dword [rbp + 0x90], eax
mov rdi, rsi
mov rcx, qword [r11 + 0x38]
mov rdx, qword [rdi + rcx]
test rdx, rdx
je 0x14006feab
test byte [rdx + 0x14], 1
lea r8d, [rax + rbx]
mov rcx, r15
je 0x14006fe8e
mov dword [rsp + 0x28], r8d
mov r9d, ebx
mov r8, r14
mov dword [rsp + 0x20], r12d
call fcn.14006f1a8
mov eax, dword [r14 + 0x10]
mov dword [rbp + 0x70], eax
jmp 0x14006fea0
mov rdx, qword [rdx]
mov r9d, 1
mov rdx, qword [rdx + 0x18]
call fcn.14006f9a0
mov r11, qword [rsp + 0x60]
mov eax, dword [rbp + 0x90]
inc ebx
add rdi, 8
cmp ebx, r13d
jl 0x14006fe56
mov r12, qword [rbp + 0x78]
mov eax, dword [rbp + 0x88]
mov r8d, dword [r11 + 0x18]
mov ebx, Ordinal_73
mov edx, ebx
mov dword [rsp + 0x20], esi
mov r9d, eax
mov rcx, r12
call fcn.140031860
mov r9d, dword [rbp + 0x88]
mov r8d, r13d
inc r9d
mov dword [rsp + 0x20], esi
mov edx, ebx
mov rcx, r12
call fcn.140031860
mov rbx, qword [rsp + 0x60]
mov edx, 9
mov r9d, dword [rbp + 0x70]
mov rcx, r12
mov r8d, dword [rsp + 0x30]
mov al, byte [rbx + 0x1c]
mov rbx, qword [rbx + 0x20]
neg al
mov eax, dword [rbp + 0x88]
sbb edi, edi
mov dword [rsp + 0x20], eax
and edi, 0xfffffffa
call fcn.140031860
lea r9d, [rdi - 1]
mov r8, rbx
mov edx, eax
mov rcx, r12
call fcn.140032150
mov eax, dword [rsp + 0x30]
lea edi, [r13 - 1]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rbp + 0x80]
mov byte [r8 + 0x1c], sil
mov dword [r14 + 0x30], eax
mov al, byte [rdx + 0x45]
neg al
sbb cl, cl
and cl, 0x6e
add cl, 0x3c
mov byte [r14 + 0x2d], cl
mov eax, dword [r12 + 0x90]
mov dword [r14 + 0x34], eax
test edi, edi
js 0x14006fdb7
movsxd rax, dword [r14 + 0x38]
lea rcx, [r13*8 - 8]
mov r13, qword [rbp + 0x78]
mov qword [rbp + 0x90], rcx
lea r12, [rax + rax*4]
shl r12, 2
mov rax, qword [r8 + 0x38]
mov rdx, qword [rcx + rax]
mov qword [rbp + 0x70], rdx
cmp edi, 0x10
jge 0x14006ffcd
movzx eax, word [r8 + 0x1e]
movzx ecx, di
shr ax, cl
test al, 1
je 0x14006ffc6
mov rcx, r14
call fcn.14006ee68
jmp 0x14007008e
mov rcx, qword [rbp + 0x90]
test byte [rdx + 0x14], 1
je 0x14007009a
mov rax, qword [rbp - 0x60]
cmp byte [rax + 0x61], sil
jne 0x140070010
mov rax, qword [r14 + 0x40]
sub r12, 0x14
mov rcx, r13
mov edx, dword [rax + r12 + 4]
call fcn.14003223c
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.140031860
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
lea edx, [r9 + 0x35]
call fcn.1400425a8
mov rbx, rax
test rax, rax
je 0x14007008e
mov rcx, qword [rbp + 0x70]
lea r8, [rbp - 0x48]
xor r9d, r9d
mov qword [rbp - 0x48], rsi
mov dword [rbp - 0x40], esi
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rbp - 0x60]
mov qword [rax + 0x10], rdx
mov edx, 0xab
call fcn.1400423e0
mov qword [rbx + 0x18], rax
test rax, rax
je 0x14007007e
mov ecx, dword [rbp + 0x88]
xor r9d, r9d
add ecx, 2
mov rdx, rbx
add ecx, edi
mov dword [rax + 0x28], ecx
mov rcx, r15
mov r8d, dword [r14 + 0x18]
call fcn.140047054
mov rcx, qword [rbp - 0x60]
mov rdx, rbx
mov qword [rbx + 0x10], rsi
call fcn.14004298c
mov rcx, qword [rbp + 0x90]
mov r8, qword [rsp + 0x60]
sub rcx, 8
sub edi, 1
mov qword [rbp + 0x90], rcx
jns 0x14006ff99
jmp 0x14006fdb0
test r8b, 5
setne cl
bt r8d, 8
setb al
test al, cl
je 0x14007015e
mov rax, qword [r11 + 0x38]
xor r9d, r9d
mov r8, r14
mov rcx, r15
mov rbx, qword [rax]
inc dword [r15 + 0x38]
mov rdx, rbx
mov edi, dword [r15 + 0x38]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r10d
call fcn.14006f1a8
cmp eax, edi
je 0x140070113
test edi, edi
je 0x140070113
cmp byte [r15 + 0x1f], 8
jae 0x140070113
movzx ecx, byte [r15 + 0x1f]
mov dword [r15 + rcx*4 + 0xbc], edi
inc byte [r15 + 0x1f]
mov r9d, dword [r14 + 0x10]
mov edx, SQLFreeHandle
mov r8d, dword [rsp + 0x30]
mov rcx, r12
mov dword [rsp + 0x20], eax
call fcn.140031860
mov rdx, qword [rbp + 0x80]
mov r8, qword [rsp + 0x48]
mov r11, qword [rsp + 0x58]
mov byte [r14 + 0x2d], 0xaa
mov rax, qword [rbx + 0x38]
test qword [r14 + 0x50], rax
mov rax, rsi
jne 0x14006fdc4
or word [rbx + 0x12], 4
jmp 0x14006fdc4
mov ecx, 0x102
mov eax, r8d
and eax, ecx
cmp eax, ecx
jne 0x1400703d0
mov dword [rbp + 0x90], 0xaa
mov rbx, rsi
mov dword [rbp + 0x70], esi
mov rcx, rsi
test r8b, 0x20
je 0x140070197
mov rax, qword [r11 + 0x38]
mov edx, 8
mov rcx, qword [rax]
jmp 0x14007019a
mov rdx, rsi
test r8b, 0x10
je 0x1400701a8
mov rax, qword [r11 + 0x38]
mov rbx, qword [rdx + rax]
test r10d, r10d
mov rdi, rcx
cmove rdi, rbx
cmove rbx, rcx
test rbx, rbx
je 0x140070294
mov r13, qword [rbx]
mov dword [rbp + 0x88], 0x18161719
mov rdx, qword [r13 + 0x18]
mov rcx, rdx
call fcn.140041ff8
cmp eax, 1
jle 0x140070230
mov al, byte [r15 + 0x1f]
test al, al
jne 0x1400701ef
inc dword [r15 + 0x38]
mov ebx, dword [r15 + 0x38]
jmp 0x140070200
dec al
movzx eax, al
mov byte [r15 + 0x1f], al
mov ebx, dword [r15 + rax*4 + 0xbc]
mov rdx, qword [r13 + 0x18]
mov r9d, 1
mov r8d, ebx
mov rcx, r15
call fcn.14006f9a0
movzx eax, byte [r13]
mov r11d, ebx
inc rax
and eax, 2
or rax, 1
mov cl, byte [rbp + rax + 0x88]
jmp 0x140070259
lea r8, [rsp + 0x7c]
mov rcx, r15
call fcn.140046868
mov rdx, rbx
mov rcx, r14
mov r11d, eax
call fcn.14006ee68
movzx r10d, byte [r13]
mov ebx, dword [rsp + 0x7c]
mov cl, byte [rbp + r10 + 0x52]
mov r13d, dword [rsp + 0x6c]
mov r9d, r13d
mov r8d, dword [rsp + 0x30]
movzx edx, cl
mov rcx, r12
mov dword [rsp + 0x20], r11d
call fcn.140031860
test ebx, ebx
je 0x1400702b2
cmp byte [r15 + 0x1f], 8
jae 0x1400702b2
movzx eax, byte [r15 + 0x1f]
mov dword [r15 + rax*4 + 0xbc], ebx
inc byte [r15 + 0x1f]
jmp 0x1400702b2
mov r8d, dword [rsp + 0x30]
mov edx, r10d
xor edx, 1
mov dword [rsp + 0x20], esi
mov rcx, r12
lea edx, [rdx*4 + 0x20]
call fcn.140031860
test rdi, rdi
je 0x140070332
mov rbx, qword [rdi]
mov r9d, 1
inc dword [r15 + 0x38]
mov rcx, r15
mov eax, dword [r15 + 0x38]
mov r8d, eax
mov dword [rbp + 0x70], eax
mov rdx, qword [rbx + 0x18]
call fcn.14006f9a0
mov rcx, qword [rbx + 0x18]
call fcn.140041ff8
cmp eax, 1
jg 0x140070307
mov al, byte [rbx]
sub al, 0x36
test al, 0xfd
jne 0x140070307
mov rax, qword [rsp + 0x70]
xor eax, 1
lea edx, [rax*2 + 0x37]
mov dword [rbp + 0x90], edx
jmp 0x140070319
mov rax, qword [rsp + 0x70]
lea eax, [rax*2 + 0x36]
mov dword [rbp + 0x90], eax
mov rcx, qword [rbx + 0x18]
call fcn.140041ff8
cmp eax, 1
jg 0x140070332
mov rdx, rdi
mov rcx, r14
call fcn.14006ee68
mov ecx, dword [r12 + 0x90]
neg dword [rsp + 0x70]
mov edi, dword [rbp + 0x90]
sbb al, al
mov dword [r14 + 0x34], ecx
add al, 5
mov byte [r14 + 0x2d], al
mov eax, dword [rsp + 0x30]
mov dword [r14 + 0x30], eax
cmp edi, 0xaa
je 0x14006fdb0
inc dword [r15 + 0x38]
mov r8d, eax
mov ebx, dword [r15 + 0x38]
mov edx, 0x80
mov r9d, ebx
mov dword [rsp + 0x20], esi
mov rcx, r12
call fcn.140031860
mov r8d, dword [rbp + 0x70]
mov r9d, r13d
mov edx, edi
mov dword [rsp + 0x20], ebx
mov rcx, r12
call fcn.140031860
movsxd rax, dword [r12 + 0x90]
mov r8, qword [rsp + 0x48]
mov r11, qword [rsp + 0x58]
test eax, eax
jle 0x1400703c4
lea rcx, [rax + rax*2]
mov edx, 0x53
mov rax, qword [r12 + 0x88]
mov word [rax + rcx*8 - 0x16], dx
mov rdx, qword [rbp + 0x80]
jmp 0x14006fdc1
test ebx, r8d
je 0x140070c5b
movzx ebx, word [r11 + 0x18]
mov rdi, rsi
movzx eax, word [r11 + 0x1c]
mov r9d, esi
movzx r10d, word [r11 + 0x1a]
mov r13b, sil
mov word [rsp + 0x3a], ax
mov edx, ebx
mov rax, qword [r11 + 0x20]
mov qword [rbp - 0x70], rax
mov eax, dword [r14 + 8]
mov dword [rsp + 0x34], eax
mov word [rbp - 0x7c], bx
mov word [rsp + 0x40], r10w
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x48], rsi
mov byte [rbp + 0x88], sil
mov byte [rsp + 0x38], sil
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x68], ebx
test r8b, 0x20
je 0x14007044a
mov rax, qword [r11 + 0x38]
inc edx
movzx r9d, r10w
mov rdi, qword [rax + rbx*8]
mov qword [rbp - 0x58], rdi
test r8b, 0x10
je 0x1400704bc
mov rax, qword [r11 + 0x38]
mov ecx, edx
mov rax, qword [rax + rcx*8]
mov qword [rbp - 0x68], rax
movzx eax, word [rsp + 0x3a]
cmp r9d, eax
cmova eax, r9d
mov r9d, eax
mov r11d, eax
test rdi, rdi
jne 0x1400704bc
mov r9, qword [rbp - 0x70]
movzx ecx, bx
mov rax, qword [r9 + 8]
movsx r10, word [rax + rcx*2]
test r10d, r10d
js 0x1400704a0
mov rax, qword [r9 + 0x18]
mov rdx, r10
shl rdx, 5
mov rcx, qword [rax + 8]
cmp byte [rdx + rcx + 0x18], sil
je 0x1400704a9
mov r9d, r11d
cmp r10d, 0xfffffffe
jne 0x1400704b6
mov r13b, 1
mov r9d, r11d
mov byte [rbp + 0x88], r13b
movzx r10d, word [rsp + 0x40]
and r8d, 0x80030
cmp r8d, 0x80000
jne 0x1400704f8
inc dword [r15 + 0x38]
mov r9d, 1
mov eax, dword [r15 + 0x38]
mov r13b, r9b
mov dword [r14 + 0x24], eax
dec dword [r15 + 0x44]
mov dword [rsp + 0x44], eax
mov eax, dword [r15 + 0x44]
mov dword [r14 + 0x28], eax
mov byte [rbp + 0x88], r9b
mov rax, qword [rbp - 0x70]
cmp bx, word [rax + 0x5e]
jae 0x1400705b7
mov rax, qword [rax + 0x38]
mov edx, esi
movzx ecx, bx
cmp byte [rcx + rax], sil
mov rcx, qword [rsp + 0x70]
sete dl
cmp ecx, edx
je 0x14007052d
mov rax, qword [rbp - 0x70]
test ecx, ecx
je 0x140070565
cmp word [rax + 0x5e], bx
jne 0x140070565
mov rdx, qword [rbp - 0x68]
mov rax, rdx
mov qword [rbp - 0x68], rdi
mov al, r10b
mov byte [rsp + 0x38], r13b
movzx r10d, word [rsp + 0x3a]
mov rdi, rdx
movzx eax, al
mov r13b, sil
mov word [rsp + 0x3a], ax
mov qword [rbp - 0x58], rdx
mov byte [rbp + 0x88], sil
mov word [rsp + 0x40], r10w
lea rax, [rbp - 0x78]
mov r8d, ecx
mov rcx, r15
mov qword [rsp + 0x20], rax
mov rdx, r14
call fcn.14006f600
mov r8d, eax
mov dword [rsp + 0x3c], eax
cmp qword [rbp - 0x78], rsi
je 0x1400705a9
cmp word [rsp + 0x3a], si
je 0x1400705a9
mov rcx, qword [rbp - 0x60]
movzx edx, bx
add rdx, qword [rbp - 0x78]
call fcn.140016490
mov r8d, dword [rsp + 0x3c]
mov qword [rbp - 0x48], rax
mov edx, dword [rsp + 0x44]
test edx, edx
je 0x1400705c1
mov eax, dword [r14 + 0x28]
jmp 0x1400705c5
mov rcx, qword [rsp + 0x70]
jmp 0x140070523
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x1400705d8
test byte [rdi + 0x14], 0x28
mov dword [rsp + 0x78], esi
je 0x1400705e0
mov dword [rsp + 0x78], 1
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x1400705f3
test byte [rax + 0x14], 0x28
mov dword [rsp + 0x6c], esi
je 0x1400705fb
mov dword [rsp + 0x6c], 1
test rdi, rdi
jne 0x140070609
mov dword [rsp + 0x7c], esi
test bx, bx
je 0x140070611
mov dword [rsp + 0x7c], 1
movzx ecx, bx
mov eax, reloc.WLDAP32.dll_Ordinal_73
mov ebx, ecx
test rdi, rdi
je 0x1400706b3
mov rax, qword [rdi]
add r8d, ecx
movzx r13d, word [rsp + 0x40]
mov rcx, r15
mov r9d, r13d
mov rdi, qword [rax + 0x18]
mov rdx, rdi
call fcn.14006f9a0
mov rcx, rdi
call fcn.140043bb0
test eax, eax
je 0x14007066e
mov r8d, dword [rsp + 0x68]
mov edx, Ordinal_54
add r8d, dword [rsp + 0x3c]
mov rcx, r12
mov r9d, dword [rsp + 0x50]
mov dword [rsp + 0x20], esi
call fcn.140031860
cmp qword [rbp - 0x78], rsi
je 0x140070688
movzx r8d, word [rbp - 0x7c]
mov edx, r13d
add r8, qword [rbp - 0x78]
mov rcx, rdi
call fcn.14006ef5c
mov rcx, rdi
add ebx, r13d
call fcn.140041ff8
cmp eax, 1
jg 0x1400706a6
mov rdx, qword [rbp - 0x58]
mov rcx, r14
call fcn.14006ee68
jmp 0x1400706ae
mov dword [rsp + 0x78], 1
mov al, sil
jmp 0x1400706eb
test r13b, r13b
je 0x1400706e1
mov dword [rsp + 0x78], esi
lea r9d, [rcx + r8]
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov rcx, r12
mov edx, eax
call fcn.140031860
mov al, byte [rbp + 0x88]
inc ebx
mov r13d, 1
jmp 0x1400706f0
test edx, edx
jne 0x1400706bc
mov al, byte [rbp + 0x88]
mov r13d, dword [rsp + 0x7c]
mov r9, qword [rbp - 0x78]
mov r8d, ebx
mov edx, dword [rsp + 0x3c]
mov rcx, r15
movzx eax, al
sub r8d, eax
mov dword [rbp + 0x88], eax
call fcn.14006eed8
mov rcx, qword [rsp + 0x60]
lea rdi, [0x140000000]
cmp word [rcx + 0x2e], si
jbe 0x14007072d
movzx eax, word [rcx + 0x2e]
cmp ebx, eax
je 0x140070811
test dword [rcx + 0x28], 0x40000
je 0x14007074e
mov r8d, dword [rsp + 0x34]
xor r9d, r9d
mov rcx, r12
mov dword [rsp + 0x20], esi
lea edx, [r9 + 0x77]
call fcn.140031860
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x14007076e
mov edx, Ordinal_73
mov dword [rsp + 0x20], esi
mov r9d, eax
mov rcx, r12
lea r8d, [rdx - 0x45]
call fcn.140031860
mov eax, dword [rsp + 0x78]
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x34]
mov dword [rsp + 0x28], ebx
lea eax, [rax + r13*2]
mov r13, qword [rsp + 0x70]
lea ecx, [rax*2]
mov eax, dword [rsp + 0x3c]
add ecx, r13d
mov dword [rsp + 0x20], eax
movzx edx, byte [rcx + rdi + 0xefc48]
mov rcx, r12
call fcn.140031b70
cmp dword [rsp + 0x44], esi
je 0x140070811
mov r9d, dword [r12 + 0x90]
xor r8d, r8d
add r9d, 2
mov dword [rsp + 0x20], esi
mov rcx, r12
lea edx, [r8 + 0xb]
call fcn.140031860
mov r9d, dword [rsp + 0x50]
mov eax, 2
mov r8d, dword [rsp + 0x34]
mov ecx, ebx
sub ecx, dword [rsp + 0x78]
mov dword [rsp + 0x28], ecx
cmp ebx, 1
lea edx, [rax + 4]
mov rcx, r12
cmova eax, edx
add eax, r13d
mov r13d, dword [rsp + 0x3c]
mov dword [rsp + 0x20], r13d
movzx edx, byte [rax + rdi + 0xefc48]
call fcn.140031b70
jmp 0x140070816
mov r13d, dword [rsp + 0x3c]
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x140070965
mov rax, qword [rax]
mov rcx, r15
movzx ebx, word [rsp + 0x3a]
add r13d, dword [rsp + 0x68]
mov r9d, ebx
mov r8d, r13d
mov rdi, qword [rax + 0x18]
mov rdx, rdi
call fcn.14006f9a0
mov rcx, rdi
call fcn.140043bb0
test eax, eax
je 0x14007086a
mov r9d, dword [rsp + 0x50]
mov r8d, r13d
mov edx, Ordinal_54
mov dword [rsp + 0x20], esi
mov rcx, r12
call fcn.140031860
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140070892
mov r8, rax
mov edx, ebx
mov rcx, rdi
call fcn.14006ef5c
mov r9, qword [rbp - 0x48]
mov r8d, ebx
mov edx, r13d
mov rcx, r15
call fcn.14006eed8
mov r13d, dword [rsp + 0x68]
mov rcx, rdi
add r13d, ebx
call fcn.140041ff8
cmp eax, 1
jg 0x140070958
mov rdx, qword [rbp - 0x68]
mov rcx, r14
call fcn.14006ee68
lea rdi, [0x140000000]
mov ebx, dword [rsp + 0x44]
cmp qword [rbp - 0x78], rsi
je 0x1400708d5
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x60]
call fcn.1400160a0
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x1400708ea
mov rcx, qword [rbp - 0x60]
mov rdx, rax
call fcn.1400160a0
mov eax, dword [r12 + 0x90]
mov dword [r14 + 0x34], eax
test r13d, r13d
je 0x1400709a3
test ebx, ebx
je 0x140070923
mov r9d, dword [r12 + 0x90]
mov r8d, ebx
add r9d, 3
mov dword [rsp + 0x20], esi
mov edx, SQLAllocHandle
mov rcx, r12
call fcn.140031860
mov eax, dword [rsp + 0x6c]
mov rcx, r12
mov rbx, qword [rsp + 0x70]
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x34]
mov dword [rsp + 0x28], r13d
lea eax, [rax + rbx*2]
movzx edx, byte [rax + rdi + 0xf27f4]
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
call fcn.140031b70
jmp 0x1400709a8
mov dword [rsp + 0x6c], 1
jmp 0x1400708b7
mov r13d, dword [rsp + 0x68]
cmp byte [rsp + 0x38], sil
je 0x1400708be
mov ebx, dword [rsp + 0x44]
test ebx, ebx
jne 0x14007099b
mov r9d, dword [rsp + 0x3c]
lea edx, [rbx + 0x49]
add r9d, r13d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov rcx, r12
call fcn.140031860
mov dword [rsp + 0x6c], esi
inc r13d
jmp 0x1400708c2
mov rbx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140070a08
mov r9d, dword [r12 + 0x90]
mov r8d, eax
add r9d, 2
mov dword [rsp + 0x20], esi
mov edx, 0x12
mov rcx, r12
call fcn.140031860
mov eax, dword [rbp + 0x88]
mov rcx, r12
mov r9d, dword [rsp + 0x50]
lea r8d, [rax + r13]
lea eax, [rax + rbx*2]
mov dword [rsp + 0x28], r8d
movzx edx, byte [rax + rdi + 0xf27f4]
mov eax, dword [rsp + 0x3c]
mov edi, dword [rsp + 0x34]
mov r8d, edi
mov dword [rsp + 0x20], eax
call fcn.140031b70
jmp 0x140070a0c
mov edi, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x60]
mov eax, dword [rbx + 0x28]
bt eax, 0x12
jae 0x140070a36
mov r9d, 1
mov dword [rsp + 0x20], esi
mov r8d, edi
mov rcx, r12
lea edx, [r9 + 0x76]
call fcn.140031860
mov eax, dword [rbx + 0x28]
test al, 0x40
mov rax, qword [rbp + 0x80]
je 0x140070a59
test byte [rax + 0x40], 0x20
jne 0x140070a59
mov r13, qword [rbp - 0x70]
mov edi, 1
mov eax, dword [rsp + 0x30]
jmp 0x140070bc6
mov r13, qword [rbp - 0x70]
mov edi, esi
mov rbx, qword [r13 + 0x18]
test byte [rbx + 0x40], 0x20
jne 0x140070aed
mov ecx, 0x400
test word [rax + 0x40], cx
jne 0x140070aaf
mov ecx, 0x1000
test word [rax + 0x40], cx
je 0x140070a89
cmp byte [rax + 0x45], 1
je 0x140070aaf
mov r12d, dword [rsp + 0x34]
mov rdx, r13
mov r8d, dword [rsp + 0x30]
mov r9d, r12d
mov rcx, rax
call fcn.14006f8b0
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
jmp 0x140070bcb
inc dword [r15 + 0x38]
mov edx, Ordinal_139
mov ebx, dword [r15 + 0x38]
mov rcx, r12
mov r8d, dword [rsp + 0x34]
mov r9d, ebx
mov dword [rsp + 0x20], esi
call fcn.140031860
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
mov rcx, r12
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 0x1f]
call fcn.140031860
jmp 0x140070bbd
mov eax, dword [rsp + 0x30]
cmp eax, dword [rsp + 0x34]
je 0x140070bc1
mov rbx, qword [rbx + 0x10]
jmp 0x140070b0e
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x140070b13
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140070b01
movzx edx, word [rbx + 0x5e]
mov rcx, r15
call fcn.140048030
movzx ecx, word [rbx + 0x5e]
mov r13d, eax
cmp si, cx
jae 0x140070b95
mov r14, qword [rbp - 0x70]
mov r15d, dword [rsp + 0x34]
movzx r8d, word [r14 + 0x60]
mov edx, esi
test r8d, r8d
je 0x140070b61
mov rax, qword [rbx + 8]
mov r9, qword [r14 + 8]
movsxd rcx, edi
movzx r10d, word [rax + rcx*2]
movsxd rax, edx
cmp r10w, word [r9 + rax*2]
je 0x140070b64
inc edx
cmp edx, r8d
jl 0x140070b50
or edx, 0xffffffff
lea eax, [rdi + r13]
movsx r9d, dx
mov edx, 0x5a
mov dword [rsp + 0x20], eax
mov r8d, r15d
mov rcx, r12
call fcn.140031860
movzx ecx, word [rbx + 0x5e]
inc edi
cmp edi, ecx
jl 0x140070b34
mov r14, qword [rbp + 0x90]
mov r15, qword [rbp + 0x70]
mov r9d, dword [rbp - 0x80]
mov edx, SQLFreeHandle
mov r8d, dword [rsp + 0x30]
movzx eax, cx
mov rcx, r12
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
call fcn.140031b70
mov r13, qword [rbp - 0x70]
mov edi, esi
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov r12d, dword [rsp + 0x34]
cmp dword [r14], esi
jne 0x140070bed
mov rcx, qword [rbp + 0x80]
test byte [rcx + 0x40], 0x20
jne 0x140070bed
mov r9, rcx
mov r8d, r12d
mov rcx, r13
mov edx, eax
call fcn.14006faa0
mov rcx, qword [r13 + 0x48]
test rcx, rcx
je 0x140070c03
mov r8, qword [rbp - 0x50]
mov edx, dword [rsp + 0x30]
call fcn.14006fb84
mov eax, 0x1000
test dword [rbx + 0x28], eax
je 0x140070c14
mov byte [r14 + 0x2d], 0xaa
jmp 0x140070c20
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 0x140070c38
mov byte [r14 + 0x2f], 1
mov rdx, qword [rbp + 0x80]
test edi, edi
mov r8, qword [rsp + 0x48]
mov rax, rsi
mov r11, qword [rsp + 0x58]
cmove rax, r13
mov qword [rbp - 0x58], rax
jmp 0x14006fdc4
mov r8, qword [rsp + 0x48]
mov r11, qword [rsp + 0x58]
test byte [r8 + r11 + 0x48], 0x20
je 0x140070c77
mov byte [r14 + 0x2d], 0xaa
jmp 0x14006fdc1
mov ecx, r10d
lea rdx, [0x140000000]
mov r8d, edi
mov dword [r14 + 0x30], edi
mov dword [rsp + 0x20], esi
mov al, byte [rcx + rdx + 0xf1dc8]
movzx edx, byte [rcx + rdx + 0xefb48]
mov rcx, r12
mov byte [r14 + 0x2d], al
call fcn.140031860
inc eax
mov byte [r14 + 0x2f], 1
mov dword [r14 + 0x34], eax
jmp 0x14006fdb0
test byte [r8 + r11 + 0x44], 8
mov rax, qword [rbx]
mov qword [rbp + 0x90], rax
je 0x140070ccf
test byte [rax + 4], 1
je 0x140070d22
cmp r12d, 1
jne 0x140070cf4
mov r8, qword [rbp - 0x58]
mov rcx, rax
mov edx, dword [r14 + 4]
call fcn.140047c18
test eax, eax
jne 0x140070eed
lea r13d, [r12 + 1]
jmp 0x140070d22
cmp r12d, 3
jl 0x140070ef4
mov edx, 0x200
test dx, cx
jne 0x140070d22
mov r8d, dword [rbp - 0x80]
mov r9d, 0x10
mov rdx, rax
mov rcx, r15
call fcn.140047054
or word [rbx + 0x12], 4
mov eax, 6
mov rdx, qword [rbp + 0x80]
dec edi
mov r8, qword [rsp + 0x48]
add rbx, 0x40
mov r11, qword [rsp + 0x58]
test edi, edi
jg 0x14006fdea
mov r10, qword [rbp - 0x50]
mov rbx, qword [r10 + 0x20]
mov edi, dword [r10 + 0x14]
mov rdx, qword [rbp + 0x80]
mov r12d, r13d
mov r8, qword [rsp + 0x48]
mov r11, qword [rsp + 0x58]
test r13d, r13d
jg 0x14006fdd2
mov r12d, 6
test edi, edi
jle 0x140070e6b
add rbx, 0x14
test byte [rbx - 2], r12b
jne 0x140070e59
movzx eax, word [rbx]
mov edx, reloc.Cabinet.dll_FCIAddFile
test al, 0x82
setne cl
bt ax, dx
setb al
test al, cl
je 0x140070e59
mov eax, dword [rsp + 0x30]
cmp dword [rbx + 8], eax
jne 0x140070e59
cmp dword [r14], esi
jne 0x140070e59
mov r9, qword [rbp + 0x98]
mov edx, eax
mov r8d, dword [rbx + 0x14]
mov rcx, r10
mov r13, qword [rbx - 0x14]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], Ordinal_133
call fcn.140072300
mov rdx, rax
test rax, rax
je 0x140070e59
test byte [rax + 0x12], 4
jne 0x140070e59
test byte [rax + 0x14], 1
je 0x140070e0f
mov rax, qword [rax]
test dword [rax + 4], 0x800
je 0x140070e0f
mov rax, qword [rax + 0x20]
mov rcx, qword [rax]
cmp dword [rcx], 1
jg 0x140070e59
mov rax, qword [rdx]
mov r9d, 0x10
mov r8d, dword [rbp - 0x80]
lea rdx, [rbp - 0x30]
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 [r13 + 0x10]
mov qword [rbp - 0x20], rax
call fcn.140047054
mov r10, qword [rbp - 0x50]
dec edi
add rbx, 0x40
test edi, edi
jg 0x140070d81
cmp dword [r14], esi
je 0x140070ed5
mov rcx, qword [rbp + 0x78]
mov edx, Ordinal_73
mov r9d, dword [r14]
mov dword [rsp + 0x20], esi
mov eax, dword [rcx + 0x90]
lea r8d, [rdx - 0x45]
mov dword [r14 + 0x1c], eax
call fcn.140031860
mov rdi, qword [rbp - 0x50]
mov rbx, qword [rdi + 0x20]
cmp dword [rdi + 0x14], esi
jle 0x140070ed5
test byte [rbx + 0x12], r12b
jne 0x140070eca
mov rax, qword [rbx + 0x38]
test qword [r14 + 0x50], rax
jne 0x140070eca
mov r8d, dword [rbp - 0x80]
mov r9d, 0x10
mov rdx, qword [rbx]
mov rcx, r15
call fcn.140047054
or word [rbx + 0x12], 4
inc esi
add rbx, 0x40
cmp esi, dword [rdi + 0x14]
jl 0x140070ea0
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 0x140070cfe
mov eax, 6
test r13d, r13d
jne 0x140070d27
lea r13d, [rax - 3]
jmp 0x140070d27