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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x128
mov rbp, qword [rsp + 0x190]
xor esi, esi
lea rax, [r8 + 0x68]
movzx edi, byte [rbp + 0x2c]
mov r10, qword [rbp + 0x48]
mov r11, r8
mov r8, qword [r8 + 8]
mov r15, rdx
mov edx, dword [r11 + 0x294]
imul rdi, rdi, 0x70
cmp edx, esi
mov r13d, dword [rdi + r8 + 0x4c]
mov qword [rsp + 0xb8], rax
mov rax, qword [rcx]
mov ebx, r9d
mov r12, rcx
mov dword [rsp + 0x3c], r13d
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x60], r10
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0x58], r8
mov ecx, esi
lea r9d, [rsi + 4]
jle 0x140071dca
lea rax, [r11 + 0x298]
cmp dword [rax], r13d
je 0x140071e60
inc ecx
add rax, r9
cmp ecx, edx
jl 0x140071db8
mov rax, rsi
not rax
mov ecx, ebx
and rax, qword [rsp + 0x198]
mov qword [rbp + 0x50], rax
mov rdx, qword [r11 + 0x58]
or eax, 0xffffffff
add dword [r12 + 0x44], eax
mov r14d, dword [r12 + 0x44]
shr rdx, cl
mov dword [rbp + 0x10], r14d
mov dword [rbp + 0xc], r14d
add dword [r12 + 0x44], eax
mov eax, dword [r12 + 0x44]
and edx, 1
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x7c], eax
mov dword [rbp + 0x18], eax
cmp byte [rbp + 0x2c], sil
jbe 0x140071e80
test byte [rdi + r8 + 0x44], 8
je 0x140071e80
inc dword [r12 + 0x38]
mov r9d, dword [r12 + 0x38]
xor r8d, r8d
lea edx, [r8 + 0x46]
mov rcx, r15
mov dword [rsp + 0x20], esi
mov dword [rbp], r9d
call fcn.140032058
mov r10, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov r11, qword [rsp + 0x180]
mov r8, qword [rsp + 0x58]
jmp 0x140071e80
mov eax, 1
shl rax, cl
jmp 0x140071dcd
movsxd rax, ebx
imul rax, rax, 0x58
cmp dword [rax + r11 + 0x398], esi
jne 0x140071e84
dec ebx
cmp ebx, esi
jg 0x140071e6d
movsxd rax, ebx
imul rax, rax, 0x58
test byte [rdi + r8 + 0x48], 0x10
mov r9d, dword [rax + r11 + 0x3a4]
je 0x140071f39
mov eax, dword [rdi + r8 + 0x38]
mov ebx, dword [rdi + r8 + 0x3c]
xor r9d, r9d
lea edx, [r9 + 0xd]
mov rcx, r15
mov r8d, ebx
mov dword [rsp + 0x20], eax
call fcn.140032058
mov r9d, r14d
mov r8d, ebx
mov edx, reloc.Cabinet.dll_FCIDestroy
mov rcx, r15
mov dword [rsp + 0x20], esi
call fcn.140032058
mov byte [rbp + 0x2d], reloc.Cabinet.dll_FCIAddFile
mov dword [rbp + 0x34], eax
mov r11, qword [rsp + 0x180]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
lea r14, [r11 + 0x68]
mov rax, rdx
neg rax
sbb ecx, ecx
add ecx, 2
mov r13d, dword [r14 + 0x14]
mov rbx, qword [r14 + 0x20]
mov edi, esi
cmp r13d, esi
jle 0x140072f19
movsxd r15, ecx
movzx ecx, word [rbx + 0x12]
test cl, 6
jne 0x140072eef
mov rax, qword [rbx + 0x38]
test qword [rbp + 0x50], rax
je 0x140072e6f
mov byte [r11 + 0x46], 1
jmp 0x140072eef
mov r8d, dword [r10 + 0x28]
bt r8d, 0xa
jae 0x1400721ba
movzx r13d, word [r10 + 0x2c]
mov rcx, r12
lea edx, [r13 + 2]
call fcn.140049318
cmp r13d, esi
mov edi, esi
mov r14d, eax
mov dword [rsp + 0x190], eax
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x188], eax
jle 0x140071fed
mov r15, qword [rsp + 0x68]
lea ebx, [r14 + 2]
mov r14, rsi
mov rcx, qword [r10 + 0x38]
mov rdx, qword [r14 + rcx]
cmp rdx, rsi
je 0x140071fd0
test byte [rdx + 0x14], 1
mov rcx, r12
je 0x140071fb6
mov r9d, edi
mov r8, rbp
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r15d
call fcn.14007129c
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x188], eax
jmp 0x140071fcb
mov rdx, qword [rdx]
mov r9d, 1
mov r8d, ebx
mov rdx, qword [rdx + 0x18]
call fcn.140071aac
mov r10, qword [rsp + 0x60]
inc edi
inc ebx
add r14, 8
cmp edi, r13d
jl 0x140071f80
mov r15, qword [rsp + 0x178]
mov r14d, dword [rsp + 0x190]
mov r8d, dword [r10 + 0x18]
mov ebx, Ordinal_73
mov r9d, r14d
mov rcx, r15
mov edx, ebx
mov dword [rsp + 0x20], esi
call fcn.140032058
lea r9d, [r14 + 1]
mov r8d, r13d
mov edx, ebx
mov rcx, r15
mov dword [rsp + 0x20], esi
call fcn.140032058
mov rbx, qword [rsp + 0x60]
mov r9d, dword [rsp + 0x188]
mov al, byte [rbx + 0x1c]
mov rbx, qword [rbx + 0x20]
mov dword [rsp + 0x20], r14d
mov r14d, dword [rsp + 0x3c]
neg al
mov edx, 9
sbb edi, edi
mov r8d, r14d
mov rcx, r15
and edi, 0xfffffffa
call fcn.140032058
lea r9d, [rdi - 1]
mov r8, rbx
mov rcx, r15
mov edx, eax
call fcn.140032934
mov rdx, qword [rsp + 0x60]
mov r11, qword [rsp + 0x180]
mov byte [rdx + 0x1c], sil
mov dword [rbp + 0x30], r14d
mov al, byte [r11 + 0x45]
neg al
lea ebx, [r13 - 1]
sbb cl, cl
and cl, 0x6e
add cl, 0x3c
cmp ebx, esi
mov byte [rbp + 0x2d], cl
mov eax, dword [r15 + 0x90]
mov dword [rbp + 0x34], eax
movsxd rax, dword [rbp + 0x38]
jl 0x140071ee5
lea r14, [rax + rax*4]
movsxd r13, ebx
shl r14, 2
shl r13, 3
cmp ebx, 0x10
mov rax, qword [rdx + 0x38]
mov r15, qword [r13 + rax]
jge 0x1400720dd
movzx eax, word [rdx + 0x1e]
movzx ecx, bx
shr ax, cl
test al, 1
je 0x1400720dd
mov rdx, r15
mov rcx, rbp
call fcn.140070f50
jmp 0x1400721a2
test byte [r15 + 0x14], 1
je 0x1400721a7
mov rax, qword [rsp + 0xa0]
cmp byte [rax + 0x61], sil
jne 0x14007212d
mov rax, qword [rbp + 0x40]
mov r10, qword [rsp + 0x178]
sub r14, 0x14
mov edx, dword [rax + r14 + 4]
mov rcx, r10
call fcn.140032a28
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, r10
call fcn.140032058
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
lea edx, [r9 + 0x35]
call fcn.140043708
mov rdi, rax
cmp rax, rsi
je 0x1400721a2
mov rcx, qword [r15]
mov r15, qword [rsp + 0xa0]
xor r8d, r8d
mov rdx, qword [rcx + 0x10]
mov rcx, r15
mov qword [rax + 0x10], rdx
mov edx, 0xab
call fcn.140043670
mov qword [rdi + 0x18], rax
cmp rax, rsi
je 0x140072193
mov ecx, dword [rsp + 0x190]
xor r9d, r9d
mov rdx, rdi
lea ecx, [rcx + rbx + 2]
mov dword [rax + 0x28], ecx
mov r8d, dword [rbp + 0x18]
mov rcx, r12
call fcn.1400482b4
mov rdx, rdi
mov rcx, r15
mov qword [rdi + 0x10], rsi
call fcn.140043ad8
mov rdx, qword [rsp + 0x60]
dec ebx
sub r13, 8
cmp ebx, esi
jge 0x1400720b1
jmp 0x140071edd
mov eax, r8d
and eax, 0x100
je 0x140072264
test r8b, 5
je 0x140072264
mov rax, qword [r10 + 0x38]
xor r9d, r9d
mov r8, rbp
mov rbx, qword [rax]
inc dword [r12 + 0x38]
mov edi, dword [r12 + 0x38]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edx
mov rcx, r12
mov rdx, rbx
call fcn.14007129c
cmp eax, edi
je 0x14007221f
cmp edi, esi
je 0x14007221f
cmp byte [r12 + 0x1f], 8
jae 0x14007221f
movzx ecx, byte [r12 + 0x1f]
mov dword [r12 + rcx*4 + 0xbc], edi
inc byte [r12 + 0x1f]
mov r9d, dword [rbp + 0x10]
mov r8d, r13d
mov edx, SQLFreeHandle
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.140032058
mov r11, qword [rsp + 0x180]
mov r8, qword [rsp + 0x58]
mov byte [rbp + 0x2d], 0xaa
mov rax, qword [rbx + 0x38]
test qword [rbp + 0x50], rax
jne 0x140071eea
mov eax, 4
or word [rbx + 0x12], ax
jmp 0x140071eea
cmp eax, esi
je 0x1400724f8
test r8b, 2
je 0x1400724f8
mov edi, 0xaa
mov dword [rsp + 0x190], esi
mov eax, esi
mov r13, rsi
mov rbx, rsi
test r8b, 0x20
je 0x14007229c
mov rax, qword [r10 + 0x38]
mov rbx, qword [rax]
mov eax, 1
test r8b, 0x10
je 0x1400722ad
movsxd rcx, eax
mov rax, qword [r10 + 0x38]
mov r13, qword [rax + rcx*8]
cmp edx, esi
je 0x1400722ba
mov rax, rbx
mov rbx, r13
mov r13, rax
cmp rbx, rsi
je 0x1400723c6
mov r14, qword [rbx]
mov byte [rsp + 0x188], SQLFreeHandle
mov byte [rsp + 0x189], SQLAllocHandle
mov rdx, qword [r14 + 0x18]
mov byte [rsp + 0x18a], SQLAllocHandle
mov byte [rsp + reloc.ODBC32.dll_SQLAllocHandleb], 0x18
mov rcx, rdx
call fcn.140043154
cmp eax, 1
jle 0x140072351
mov al, byte [r12 + 0x1f]
cmp al, sil
jne 0x14007230d
inc dword [r12 + 0x38]
mov ebx, dword [r12 + 0x38]
jmp 0x14007231f
dec al
movzx eax, al
mov byte [r12 + 0x1f], al
mov ebx, dword [r12 + rax*4 + 0xbc]
mov rdx, qword [r14 + 0x18]
mov r9d, 1
mov r8d, ebx
mov rcx, r12
mov r15d, ebx
call fcn.140071aac
movzx r11d, byte [r14]
inc r11d
and r11d, 2
or r11, 1
movzx edx, byte [rsp + r11 + 0x188]
jmp 0x140072383
lea r8, [rsp + 0x170]
mov rcx, r12
call fcn.140047a58
mov rdx, rbx
mov rcx, rbp
mov r15d, eax
call fcn.140070f50
movzx r10d, byte [r14]
movzx edx, byte [rsp + r10 + 0x152]
mov ebx, dword [rsp + 0x170]
mov r14d, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x3c]
mov dword [rsp + 0x20], r15d
mov r15, qword [rsp + 0x178]
mov r9d, r14d
mov rcx, r15
call fcn.140032058
cmp ebx, esi
je 0x1400723e3
cmp byte [r12 + 0x1f], 8
jae 0x1400723e3
movzx eax, byte [r12 + 0x1f]
mov dword [r12 + rax*4 + 0xbc], ebx
inc byte [r12 + 0x1f]
jmp 0x1400723e3
mov r8d, dword [rsp + 0x3c]
mov eax, edx
mov rcx, r15
neg eax
mov dword [rsp + 0x20], esi
sbb edx, edx
and edx, 0xfffffffc
add edx, 0x24
call fcn.140032058
cmp r13, rsi
je 0x140072461
mov rbx, qword [r13]
inc dword [r12 + 0x38]
mov eax, dword [r12 + 0x38]
mov rdx, qword [rbx + 0x18]
mov r9d, 1
mov r8d, eax
mov rcx, r12
mov dword [rsp + 0x190], eax
call fcn.140071aac
mov rcx, qword [rbx + 0x18]
call fcn.140043154
cmp eax, 1
jg 0x14007243a
cmp byte [rbx], 0x38
je 0x14007242a
cmp byte [rbx], 0x36
jne 0x14007243a
mov eax, dword [rsp + 0x68]
neg eax
sbb edi, edi
and edi, 0xfffffffe
add edi, 0x39
jmp 0x140072448
mov eax, dword [rsp + 0x68]
neg eax
sbb edi, edi
and edi, 2
add edi, 0x36
mov rcx, qword [rbx + 0x18]
call fcn.140043154
cmp eax, 1
jg 0x140072461
mov rdx, r13
mov rcx, rbp
call fcn.140070f50
mov ecx, dword [r15 + 0x90]
neg dword [rsp + 0x68]
mov r13d, dword [rsp + 0x3c]
sbb al, al
mov dword [rbp + 0x30], r13d
mov dword [rbp + 0x34], ecx
add al, 5
mov byte [rbp + 0x2d], al
cmp edi, 0xaa
je 0x140071edd
inc dword [r12 + 0x38]
mov ebx, dword [r12 + 0x38]
mov r8d, r13d
mov edx, 0x80
mov rcx, r15
mov r9d, ebx
mov dword [rsp + 0x20], esi
call fcn.140032058
mov r8d, dword [rsp + 0x190]
mov r9d, r14d
mov edx, edi
mov rcx, r15
mov dword [rsp + 0x20], ebx
call fcn.140032058
movsxd r11, dword [r15 + 0x90]
cmp r11d, esi
mov r8, qword [rsp + 0x58]
jle 0x1400724eb
mov rax, qword [r15 + 0x88]
lea rcx, [r11 + r11*2]
mov edx, 0x53
mov word [rax + rcx*8 - 0x16], dx
mov r11, qword [rsp + 0x180]
jmp 0x140071eea
bt r8d, 9
jae 0x140072e1d
movzx ebx, word [r10 + 0x18]
mov rax, qword [r10 + 0x20]
movzx r11d, word [r10 + 0x1c]
movzx r13d, word [r10 + 0x1a]
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 8]
mov dword [rsp + 0x38], eax
mov word [rsp + 0x90], bx
mov word [rsp + 0x44], r11w
mov rdi, rsi
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x98], rsi
mov r9d, esi
mov qword [rsp + 0xa8], rsi
mov byte [rsp + 0x188], sil
mov byte [rsp + 0x30], sil
mov dword [rsp + 0x34], esi
mov r14, rbx
mov dword [rsp + 0x74], ebx
mov rdx, rbx
test r8b, 0x20
je 0x14007258b
mov rax, qword [r10 + 0x38]
inc edx
mov rdi, qword [rax + rbx*8]
movzx eax, r13w
cmp eax, esi
mov qword [rsp + 0xb0], rdi
cmovge r9d, eax
test r8b, 0x10
je 0x140072645
mov rax, qword [r10 + 0x38]
movsxd rcx, edx
mov r10, qword [rax + rcx*8]
movzx eax, r11w
cmp r9d, eax
mov qword [rsp + 0x98], r10
cmovle r9d, eax
cmp rdi, rsi
jne 0x1400725ff
mov rax, qword [rsp + 0x48]
movzx ecx, bx
mov rax, qword [rax + 8]
movsx r10, word [rax + rcx*2]
cmp r10d, esi
jl 0x1400725e9
mov rax, qword [rsp + 0x48]
mov rdx, r10
mov rax, qword [rax + 0x18]
shl rdx, 5
mov rcx, qword [rax + 8]
cmp byte [rdx + rcx + 0x18], sil
je 0x1400725ef
cmp r10d, 0xfffffffe
jne 0x1400725f7
mov byte [rsp + 0x188], 1
mov r10, qword [rsp + 0x98]
test r8b, 0x30
jne 0x14007264a
bt r8d, 0x13
jae 0x14007264a
inc dword [r12 + 0x38]
mov r11d, dword [r12 + 0x38]
mov r9d, 1
mov dword [rbp + 0x24], r11d
dec dword [r12 + 0x44]
mov eax, dword [r12 + 0x44]
mov dword [rsp + 0x34], r11d
mov r11w, word [rsp + 0x44]
mov dword [rbp + 0x28], eax
mov r8b, r9b
mov byte [rsp + 0x188], r9b
jmp 0x140072652
mov r10, rsi
jmp 0x1400725ff
mov r8b, byte [rsp + 0x188]
mov rax, qword [rsp + 0x48]
cmp bx, word [rax + 0x5e]
jae 0x140072717
mov rax, qword [rax + 0x38]
movzx ecx, bx
mov edx, esi
cmp byte [rcx + rax], sil
mov rcx, qword [rsp + 0x68]
sete dl
cmp ecx, edx
je 0x140072689
mov rax, qword [rsp + 0x48]
cmp ecx, esi
je 0x1400726b6
cmp word [rax + 0x5e], bx
jne 0x1400726b6
movzx eax, r13b
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xb0], r10
mov rdi, r10
mov byte [rsp + 0x30], r8b
mov byte [rsp + 0x188], sil
mov word [rsp + 0x44], ax
mov r13w, r11w
lea rax, [rsp + 0x88]
mov r8d, ecx
mov rdx, rbp
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1400716fc
mov ecx, eax
mov dword [rsp + 0x40], eax
cmp qword [rsp + 0x88], rsi
je 0x14007270c
cmp word [rsp + 0x44], si
je 0x14007270c
mov rcx, qword [rsp + 0xa0]
movzx edx, bx
add rdx, qword [rsp + 0x88]
call fcn.140016a9c
mov ecx, dword [rsp + 0x40]
mov qword [rsp + 0xa8], rax
cmp dword [rsp + 0x34], esi
je 0x140072721
mov eax, dword [rbp + 0x28]
jmp 0x140072724
mov rcx, qword [rsp + 0x68]
jmp 0x14007267f
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x50], eax
cmp rdi, rsi
je 0x140072737
test byte [rdi + 0x14], 0x28
mov dword [rsp + 0x78], esi
je 0x14007273f
mov dword [rsp + 0x78], 1
mov rax, qword [rsp + 0x98]
cmp rax, rsi
je 0x140072759
test byte [rax + 0x14], 0x28
mov dword [rsp + 0x80], esi
je 0x140072764
mov dword [rsp + 0x80], 1
cmp rdi, rsi
jne 0x140072772
mov dword [rsp + 0x70], esi
cmp bx, si
jbe 0x14007277a
mov dword [rsp + 0x70], 1
mov ebx, r14d
mov eax, reloc.WLDAP32.dll_Ordinal_73
cmp rdi, rsi
je 0x140072948
mov rax, qword [rdi]
add r14d, ecx
movzx r13d, r13w
mov rdi, qword [rax + 0x18]
mov r9d, r13d
mov r8d, r14d
mov rdx, rdi
mov rcx, r12
call fcn.140071aac
mov rcx, rdi
call fcn.140044c98
cmp eax, esi
je 0x1400727cf
mov r9d, dword [rsp + 0x50]
mov r8d, r14d
mov edx, Ordinal_54
mov rcx, r15
mov dword [rsp + 0x20], esi
call fcn.140032058
cmp qword [rsp + 0x88], rsi
je 0x1400727f0
movzx r8d, bx
mov edx, r13d
mov rcx, rdi
add r8, qword [rsp + 0x88]
call fcn.140071048
mov rcx, rdi
add ebx, r13d
call fcn.140043154
cmp eax, 1
jg 0x140072812
mov rdx, qword [rsp + 0xb0]
mov rcx, rbp
call fcn.140070f50
jmp 0x14007281a
mov dword [rsp + 0x78], 1
mov edi, dword [rsp + 0x34]
mov byte [rsp + 0x188], sil
mov r13d, dword [rsp + 0x70]
movzx eax, byte [rsp + 0x188]
mov r9, qword [rsp + 0x88]
mov edx, dword [rsp + 0x40]
mov r8d, ebx
mov rcx, r12
sub r8d, eax
call fcn.140070fc4
mov rcx, qword [rsp + 0x60]
lea r14, [0x140000000]
cmp word [rcx + 0x2e], si
jbe 0x14007286b
movzx eax, word [rcx + 0x2e]
cmp ebx, eax
je 0x1400729aa
bt dword [rcx + 0x28], 0x12
jae 0x14007288a
mov r8d, dword [rsp + 0x38]
xor r9d, r9d
mov rcx, r15
lea edx, [r9 + 0x77]
mov dword [rsp + 0x20], esi
call fcn.140032058
cmp edi, esi
je 0x1400728a6
mov edx, Ordinal_73
mov r9d, edi
mov rcx, r15
lea r8d, [rdx - 0x45]
mov dword [rsp + 0x20], esi
call fcn.140032058
movsxd rdi, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x38]
movsxd rcx, r13d
movsxd r13, dword [rsp + 0x78]
mov dword [rsp + 0x28], ebx
lea rcx, [r13 + rcx*2]
lea rax, [rdi + rcx*2]
mov rcx, r15
movzx edx, byte [rax + r14 + 0xd6620]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
call fcn.14003236c
cmp dword [rsp + 0x34], esi
je 0x1400729aa
mov r9d, dword [r15 + 0x90]
xor r8d, r8d
mov rcx, r15
lea edx, [r8 + 0xb]
add r9d, 2
mov dword [rsp + 0x20], esi
call fcn.140032058
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x38]
mov rax, rsi
mov r11d, ebx
sub r11d, r13d
cmp ebx, 1
setg al
mov dword [rsp + 0x28], r11d
lea rcx, [rdi + rax*4]
mov edi, dword [rsp + 0x40]
movzx edx, byte [rcx + r14 + 0xd6622]
mov rcx, r15
mov dword [rsp + 0x20], edi
call fcn.14003236c
jmp 0x1400729ae
cmp byte [rsp + 0x188], sil
je 0x14007297c
lea r9d, [r14 + rcx]
xor r8d, r8d
mov edx, eax
mov rcx, r15
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x20], esi
call fcn.140032058
mov edi, dword [rsp + 0x34]
mov r13d, 1
inc ebx
jmp 0x14007282b
mov edi, dword [rsp + 0x34]
cmp edi, esi
je 0x140072826
lea r9d, [r14 + rcx]
xor r8d, r8d
mov edx, eax
mov rcx, r15
mov dword [rsp + 0x20], esi
call fcn.140032058
mov r13d, 1
inc ebx
jmp 0x14007282b
mov edi, dword [rsp + 0x40]
mov rax, qword [rsp + 0x98]
mov r13d, dword [rsp + 0x74]
cmp rax, rsi
je 0x140072b28
mov rax, qword [rax]
mov ecx, dword [rsp + 0x40]
movzx ebx, word [rsp + 0x44]
mov rdi, qword [rax + 0x18]
add r13d, ecx
mov r9d, ebx
mov rdx, rdi
mov r8d, r13d
mov rcx, r12
call fcn.140071aac
mov rcx, rdi
call fcn.140044c98
cmp eax, esi
je 0x140072a0d
mov r9d, dword [rsp + 0x50]
mov r8d, r13d
mov edx, Ordinal_54
mov rcx, r15
mov dword [rsp + 0x20], esi
call fcn.140032058
mov rax, qword [rsp + 0xa8]
cmp rax, rsi
je 0x140072a3d
mov r8, rax
mov edx, ebx
mov rcx, rdi
call fcn.140071048
mov r9, qword [rsp + 0xa8]
mov r8d, ebx
mov edx, r13d
mov rcx, r12
call fcn.140070fc4
mov r13d, dword [rsp + 0x74]
mov rcx, rdi
add r13d, ebx
call fcn.140043154
cmp eax, 1
jg 0x140072b18
mov rdx, qword [rsp + 0x98]
mov rcx, rbp
call fcn.140070f50
mov ebx, dword [rsp + 0x34]
mov rdi, qword [rsp + 0xa0]
cmp qword [rsp + 0x88], rsi
je 0x140072a8c
mov rdx, qword [rsp + 0x88]
mov rcx, rdi
call fcn.140016698
mov rax, qword [rsp + 0xa8]
cmp rax, rsi
je 0x140072aa4
mov rdx, rax
mov rcx, rdi
call fcn.140016698
mov eax, dword [r15 + 0x90]
mov dword [rbp + 0x34], eax
cmp r13d, esi
je 0x140072b62
cmp ebx, esi
je 0x140072ada
mov r9d, dword [r15 + 0x90]
mov r8d, ebx
mov edx, SQLAllocHandle
mov rcx, r15
add r9d, 3
mov dword [rsp + 0x20], esi
call fcn.140032058
movsxd rax, dword [rsp + 0x80]
mov rdi, qword [rsp + 0x68]
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x38]
movsxd rcx, edi
mov dword [rsp + 0x28], r13d
lea rdx, [rax + rcx*2]
mov eax, dword [rsp + 0x40]
mov rcx, r15
movzx edx, byte [rdx + r14 + 0xd63dc]
mov dword [rsp + 0x20], eax
call fcn.14003236c
jmp 0x140072b67
mov dword [rsp + 0x80], 1
jmp 0x140072a66
cmp byte [rsp + 0x30], sil
je 0x140072a66
mov ebx, dword [rsp + 0x34]
cmp ebx, esi
jne 0x140072b5a
xor r8d, r8d
lea r9d, [r13 + rdi]
mov rcx, r15
lea edx, [r8 + 0x49]
mov dword [rsp + 0x20], esi
call fcn.140032058
mov dword [rsp + 0x80], esi
inc r13d
jmp 0x140072a6a
mov rdi, qword [rsp + 0x68]
cmp ebx, esi
je 0x140072bcc
mov r9d, dword [r15 + 0x90]
mov r8d, ebx
mov edx, 0x12
mov rcx, r15
add r9d, 2
mov dword [rsp + 0x20], esi
call fcn.140032058
movzx eax, byte [rsp + 0x188]
mov r9d, dword [rsp + 0x50]
movsxd rcx, edi
mov edi, dword [rsp + 0x38]
lea r11d, [rax + r13]
lea rdx, [rax + rcx*2]
mov r10d, eax
mov eax, dword [rsp + 0x40]
movzx edx, byte [rdx + r14 + 0xd63dc]
mov dword [rsp + 0x28], r11d
mov r8d, edi
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.14003236c
jmp 0x140072bd0
mov edi, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x60]
bt dword [rbx + 0x28], 0x12
jae 0x140072bf5
mov r9d, 1
mov r8d, edi
mov rcx, r15
lea edx, [r9 + 0x76]
mov dword [rsp + 0x20], esi
call fcn.140032058
test byte [rbx + 0x28], 0x40
mov rax, qword [rsp + 0x180]
je 0x140072c1e
test byte [rax + 0x40], 0x20
jne 0x140072c1e
mov r13d, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x48]
mov r14d, 1
jmp 0x140072d8f
mov rcx, qword [rsp + 0x48]
mov r14d, esi
mov rbx, qword [rcx + 0x18]
test byte [rbx + 0x40], 0x20
jne 0x140072ca8
mov edx, 0x400
test word [rax + 0x40], dx
jne 0x140072c67
mov edx, 0x1000
test word [rax + 0x40], dx
je 0x140072c4c
cmp byte [rax + 0x45], 1
je 0x140072c67
mov r13d, dword [rsp + 0x3c]
mov rdx, rcx
mov r9d, edi
mov r8d, r13d
mov rcx, rax
call fcn.1400719b8
jmp 0x140072d85
inc dword [r12 + 0x38]
mov ebx, dword [r12 + 0x38]
mov r8d, edi
mov edx, Ordinal_139
mov rcx, r15
mov r9d, ebx
mov dword [rsp + 0x20], esi
call fcn.140032058
mov r13d, dword [rsp + 0x3c]
xor r9d, r9d
mov r8d, r13d
mov rcx, r15
lea edx, [r9 + 0x1f]
mov dword [rsp + 0x20], ebx
call fcn.140032058
jmp 0x140072d85
mov r13d, dword [rsp + 0x3c]
cmp r13d, edi
je 0x140072d8a
mov rbx, qword [rbx + 0x10]
jmp 0x140072cc9
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x140072cce
mov rbx, qword [rbx + 0x28]
cmp rbx, rsi
jne 0x140072cbc
movzx edx, word [rbx + 0x5e]
mov rcx, r12
call fcn.140049318
mov edi, esi
mov r13d, eax
cmp si, word [rbx + 0x5e]
jae 0x140072d5e
mov ebp, dword [rsp + 0x38]
mov r12, qword [rsp + 0x48]
or r14d, 0xffffffff
movzx r8d, word [r12 + 0x60]
mov edx, esi
cmp r8d, esi
jle 0x140072d21
mov rax, qword [rbx + 8]
mov r9, qword [r12 + 8]
movsxd rcx, edi
movzx r10d, word [rax + rcx*2]
movsxd rax, edx
cmp r10w, word [r9 + rax*2]
je 0x140072d25
inc edx
cmp edx, r8d
jl 0x140072d10
mov dx, r14w
lea eax, [rdi + r13]
movsx r9d, dx
mov r8d, ebp
mov edx, 0x5a
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.140032058
movzx eax, word [rbx + 0x5e]
inc edi
cmp edi, eax
jl 0x140072cf2
mov rbp, qword [rsp + 0x190]
mov r12, qword [rsp + 0x170]
mov r14d, esi
movzx eax, word [rbx + 0x5e]
mov r9d, dword [rsp + 0x7c]
mov edx, SQLFreeHandle
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
mov r13d, dword [rsp + 0x3c]
mov r8d, r13d
mov rcx, r15
call fcn.14003236c
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
mov edi, dword [rsp + 0x38]
cmp dword [rbp], esi
jne 0x140072db2
mov r9, qword [rsp + 0x180]
test byte [r9 + 0x40], 0x20
jne 0x140072db2
mov r8d, edi
mov edx, r13d
call fcn.140071ba8
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x48]
cmp rcx, rsi
je 0x140072dd0
mov r8, qword [rsp + 0xb8]
mov edx, r13d
call fcn.140071c90
bt dword [rbx + 0x28], 0xc
jae 0x140072ddd
mov byte [rbp + 0x2d], 0xaa
jmp 0x140072de8
neg dword [rsp + 0x68]
sbb al, al
add al, 5
mov byte [rbp + 0x2d], al
mov dword [rbp + 0x30], edi
mov al, byte [rbx + 0x2a]
and al, 1
mov byte [rbp + 0x2e], al
test byte [rbx + 0x28], 0xf
jne 0x140072dfd
mov byte [rbp + 0x2f], 1
mov r11, qword [rsp + 0x180]
mov r8, qword [rsp + 0x58]
cmp r14d, esi
je 0x140071eea
mov qword [rsp + 0x48], rsi
jmp 0x140071eea
mov r8, qword [rsp + 0x58]
test byte [rdi + r8 + 0x48], 0x20
je 0x140072e33
mov byte [rbp + 0x2d], 0xaa
jmp 0x140071eea
movsxd rcx, edx
lea r14, [0x140000000]
mov r8d, r13d
mov al, byte [rcx + r14 + 0xd63fc]
mov dword [rbp + 0x30], r13d
mov dword [rsp + 0x20], esi
mov byte [rbp + 0x2d], al
movzx edx, byte [rcx + r14 + 0xd6628]
mov rcx, r15
call fcn.140032058
mov byte [rbp + 0x2f], 1
inc eax
jmp 0x140071eda
mov rax, qword [rsp + 0xc0]
mov r14, qword [rbx]
test byte [rax + r8 + 0x44], 8
je 0x140072e89
test byte [r14 + 4], 1
je 0x140072eef
cmp r15, 1
jne 0x140072ea7
mov r8, rdx
mov edx, dword [rbp + 4]
mov rcx, r14
call fcn.140048f08
cmp eax, esi
jne 0x140072ead
lea edi, [r15 + 1]
jmp 0x140072eef
cmp r15, 3
jge 0x140072ec6
mov cx, word [rbx + 0x12]
mov eax, 0x1000
test ax, cx
je 0x140072ec6
cmp edi, esi
jne 0x140072eef
mov edi, 3
jmp 0x140072eef
mov eax, 0x200
test ax, cx
jne 0x140072eef
mov r8d, dword [rsp + 0x7c]
mov r9d, 0x10
mov rdx, r14
mov rcx, r12
call fcn.1400482b4
mov eax, 4
or word [rbx + 0x12], ax
mov r11, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
dec r13d
add rbx, 0x40
cmp r13d, esi
jg 0x140071f14
mov r14, qword [rsp + 0xb8]
cmp edi, esi
mov r11, qword [rsp + 0x180]
mov r8, qword [rsp + 0x58]
mov ecx, edi
jg 0x140071efe
mov rbx, qword [r14 + 0x20]
mov edi, dword [r14 + 0x14]
jmp 0x14007300d
test byte [rbx + 0x12], 6
jne 0x140073007
test byte [rbx + 0x14], 0x82
je 0x140073007
mov eax, 0x800
test word [rbx + 0x14], ax
je 0x140073007
mov eax, dword [rsp + 0x3c]
cmp dword [rbx + 0x1c], eax
jne 0x140073007
cmp dword [rbp], esi
jne 0x140073007
mov r9, qword [rsp + 0x198]
mov r8d, dword [rbx + 0x28]
mov r13, qword [rbx]
mov edx, eax
mov rcx, r14
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], Ordinal_133
call fcn.140074590
mov rdx, rax
cmp rax, rsi
je 0x140073007
mov eax, 4
test byte [rdx + 0x12], al
jne 0x140073007
test byte [rdx + 0x14], 1
je 0x140072fca
mov rax, qword [rdx]
bt dword [rax + 4], 0xb
jae 0x140072fca
mov rax, qword [rax + 0x20]
mov rcx, qword [rax]
cmp dword [rcx], 1
jg 0x140073007
mov rdx, qword [rdx]
lea rcx, [rsp + 0xd0]
mov r8d, SQLSetEnvAttr
call sub.msvcrt.dll_memcpy
mov r11, qword [r13 + 0x10]
mov r8d, dword [rsp + 0x7c]
lea rdx, [rsp + 0xd0]
mov r9d, 0x10
mov rcx, r12
mov qword [rsp + 0xe0], r11
call fcn.1400482b4
dec edi
add rbx, 0x40
cmp edi, esi
jg 0x140072f3d
cmp dword [rbp], esi
je 0x140073086
mov rcx, qword [rsp + 0x178]
mov r9d, dword [rbp]
mov edx, Ordinal_73
mov eax, dword [rcx + 0x90]
lea r8d, [rdx - 0x45]
mov dword [rsp + 0x20], esi
mov dword [rbp + 0x1c], eax
call fcn.140032058
cmp dword [r14 + 0x14], esi
mov rbx, qword [r14 + 0x20]
jle 0x140073086
test byte [rbx + 0x12], 6
jne 0x14007307a
mov rax, qword [rbx + 0x38]
test qword [rbp + 0x50], rax
jne 0x14007307a
mov r8d, dword [rsp + 0x7c]
mov rdx, qword [rbx]
mov r9d, 0x10
mov rcx, r12
call fcn.1400482b4
mov eax, 4
or word [rbx + 0x12], ax
inc esi
add rbx, 0x40
cmp esi, dword [r14 + 0x14]
jl 0x14007304b
mov rax, qword [rbp + 0x50]
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret