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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x288
mov dword [rsp + 0x7c], 0
mov dword [rsp + 0xc0], 0
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x2b0]
add rax, 0x68
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x2a0]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x2c0]
movzx ecx, byte [rcx + 0x2c]
imul rcx, rcx, 0x70
lea rax, [rax + rcx + 8]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x2b0]
add rax, 0x290
mov edx, dword [rsp + 0x64]
mov rcx, rax
call fcn.1400c3b00
not rax
mov rcx, qword [rsp + 0x2c8]
and rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x2c0]
mov qword [rcx + 0x50], rax
mov eax, dword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x2b0]
mov qword [rsp + 0x208], rcx
movzx ecx, al
mov rax, qword [rsp + 0x208]
mov rax, qword [rax + 0x58]
shr rax, cl
and rax, 1
mov dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0x2a0]
call fcn.140059a50
mov dword [rsp + 0xec], eax
mov rax, qword [rsp + 0x2c0]
mov ecx, dword [rsp + 0xec]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x2c0]
mov ecx, dword [rsp + 0xec]
mov dword [rax + 0xc], ecx
mov eax, dword [rsp + 0xec]
mov dword [rsp + 0xfc], eax
mov rcx, qword [rsp + 0x2a0]
call fcn.140059a50
mov dword [rsp + 0x180], eax
mov rax, qword [rsp + 0x2c0]
mov ecx, dword [rsp + 0x180]
mov dword [rax + 0x18], ecx
mov eax, dword [rsp + 0x180]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x2c0]
movzx eax, byte [rax + 0x2c]
test eax, eax
jle 0x1400bf7f2
mov eax, Ordinal_113
imul rax, rax, 0
mov rcx, qword [rsp + 0x108]
movzx eax, byte [rcx + rax + 0x3c]
and eax, 8
test eax, eax
je 0x1400bf7f2
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x184], eax
mov rax, qword [rsp + 0x2a0]
mov ecx, dword [rsp + 0x184]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x2c0]
mov ecx, dword [rsp + 0x184]
mov dword [rax], ecx
mov rax, qword [rsp + 0x2c0]
mov r9d, dword [rax]
xor r8d, r8d
mov edx, Ordinal_73
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov eax, dword [rsp + 0x2b8]
mov dword [rsp + 0x40], eax
jmp 0x1400bf809
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x1400bf82d
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x58
mov rcx, qword [rsp + 0x2b0]
cmp dword [rcx + rax + 0x398], 0
jne 0x1400bf82d
jmp 0x1400bf7ff
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x58
mov rcx, qword [rsp + 0x2b0]
mov eax, dword [rcx + rax + 0x3a4]
mov dword [rsp + 0x174], eax
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x40]
shr eax, 4
and eax, 1
test eax, eax
je 0x1400bf8dd
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x188], eax
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x188]
mov edx, reloc.Cabinet.dll_FCIFlushCabinet
mov rcx, qword [rsp + 0x2a8]
call fcn.140059320
mov r9d, dword [rsp + 0xfc]
mov r8d, dword [rsp + 0x188]
mov edx, reloc.Cabinet.dll_FCIDestroy
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov rcx, qword [rsp + 0x2c0]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x2c0]
mov byte [rax + 0x2d], reloc.Cabinet.dll_FCIAddFile
jmp 0x1400c12fe
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x400
test eax, eax
je 0x1400bfd59
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x2c]
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
add eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x2a0]
call fcn.140081300
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x194], eax
mov dword [rsp + 0x40], 0
jmp 0x1400bf948
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xbc]
cmp dword [rsp + 0x40], eax
jge 0x1400bfa22
mov eax, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0x40]
lea eax, [rax + rcx + 2]
mov dword [rsp + 0x18c], eax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400bf990
jmp 0x1400bf93e
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
and eax, 1
test eax, eax
je 0x1400bf9e6
mov eax, dword [rsp + 0x18c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x2c0]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400be5f0
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x194], eax
jmp 0x1400bfa1d
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x210], rax
mov r9d, 1
mov r8d, dword [rsp + 0x18c]
mov rdx, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400bf220
jmp 0x1400bf93e
mov r9d, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x58]
mov r8d, dword [rax + 0x18]
mov edx, Ordinal_73
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov eax, dword [rsp + 0xa0]
inc eax
mov r9d, eax
mov r8d, dword [rsp + 0xbc]
mov edx, Ordinal_73
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x1c]
test eax, eax
je 0x1400bfa85
mov dword [rsp + 0x190], 0xfffffff9
jmp 0x1400bfa90
mov dword [rsp + 0x190], 0xffffffff
mov eax, dword [rsp + 0x190]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x194]
mov r8d, dword [rsp + 0x64]
mov edx, 9
mov rcx, qword [rsp + 0x2a8]
call fcn.1400596a0
mov rax, qword [rsp + 0x58]
mov byte [rax + 0x1c], 0
mov rax, qword [rsp + 0x2c0]
mov ecx, dword [rsp + 0x64]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x2b0]
movzx eax, byte [rax + 0x45]
test eax, eax
je 0x1400bfb08
mov dword [rsp + 0x198], 0xaa
jmp 0x1400bfb13
mov dword [rsp + 0x198], Ordinal_69
mov rax, qword [rsp + 0x2c0]
movzx ecx, byte [rsp + 0x198]
mov byte [rax + 0x2d], cl
mov rcx, qword [rsp + 0x2a8]
call fcn.140059e60
mov rcx, qword [rsp + 0x2c0]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0xf0], eax
mov eax, dword [rsp + 0xbc]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x1400bfb69
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1400bfd54
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x40], 0x10
jge 0x1400bfbbf
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1e]
mov ecx, dword [rsp + 0x40]
sar eax, cl
and eax, 1
test eax, eax
je 0x1400bfbbf
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2c0]
call fcn.1400be0b0
jmp 0x1400bfd4f
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
and eax, 1
test eax, eax
je 0x1400bfd4f
mov rax, qword [rsp + 0x128]
movzx eax, byte [rax + 0x61]
test eax, eax
jne 0x1400bfc69
mov eax, dword [rsp + 0xf0]
dec eax
mov dword [rsp + 0xf0], eax
movsxd rax, dword [rsp + 0xf0]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x2c0]
mov rcx, qword [rcx + 0x40]
mov edx, dword [rcx + rax + 4]
mov rcx, qword [rsp + 0x2a8]
call fcn.14005a840
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0xc]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x1d0]
mov r9d, dword [rcx + 8]
mov rcx, qword [rsp + 0x1d0]
mov r8d, dword [rcx + 4]
mov edx, eax
mov rcx, qword [rsp + 0x2a8]
call fcn.140059320
xor r9d, r9d
xor r8d, r8d
mov edx, Ordinal_54
mov rcx, qword [rsp + 0x2a0]
call fcn.1400777d0
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x110], 0
je 0x1400bfd4f
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x110]
mov rax, qword [rax + 0x10]
mov qword [rcx + 0x10], rax
xor r8d, r8d
mov edx, 0xab
mov rcx, qword [rsp + 0x128]
call fcn.1400776c0
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x1f8]
mov qword [rax + 0x18], rcx
cmp qword [rsp + 0x1f8], 0
je 0x1400bfd2a
mov eax, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0x40]
lea eax, [rax + rcx + 2]
mov rcx, qword [rsp + 0x1f8]
mov dword [rcx + 0x28], eax
xor r9d, r9d
mov rax, qword [rsp + 0x2c0]
mov r8d, dword [rax + 0x18]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x2a0]
call fcn.14007f2d0
mov rax, qword [rsp + 0x110]
mov qword [rax + 0x10], 0
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x128]
call fcn.140077eb0
jmp 0x1400bfb5f
jmp 0x1400c12fe
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x100
test eax, eax
je 0x1400bfea1
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 5
test eax, eax
je 0x1400bfea1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rax + rcx]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x19c], eax
mov rax, qword [rsp + 0x2a0]
mov ecx, dword [rsp + 0x19c]
mov dword [rax + 0x38], ecx
mov eax, dword [rsp + 0x19c]
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x2c0]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400be5f0
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0x7c], eax
je 0x1400bfe25
mov edx, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400812b0
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x8c]
mov r8d, dword [rsp + 0x64]
mov edx, SQLFreeHandle
mov rcx, qword [rsp + 0x2a8]
call fcn.140059320
mov rax, qword [rsp + 0x2c0]
mov byte [rax + 0x2d], 0xaa
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2c0]
mov rcx, qword [rcx + 0x50]
mov rax, qword [rax + 0x38]
and rax, rcx
test rax, rax
jne 0x1400bfe9c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x12]
or eax, 4
mov rcx, qword [rsp + 0x50]
mov word [rcx + 0x12], ax
jmp 0x1400c12fe
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x100
test eax, eax
je 0x1400c037e
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 2
test eax, eax
je 0x1400c037e
mov dword [rsp + 0xc4], 0xaa
mov dword [rsp + 0xe0], 0
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x100], 0
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x20
test eax, eax
je 0x1400bff36
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x10
test eax, eax
je 0x1400bff69
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x68], 0
je 0x1400bff9a
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x118], 0
je 0x1400c00ff
mov byte [rsp + 0xa4], SQLFreeHandle
mov byte [rsp + 0xa5], Ordinal_26
mov byte [rsp + 0xa6], Ordinal_26
mov byte [rsp + 0xa7], reloc.ODBC32.dll_SQLAllocHandle
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov rcx, qword [rax + 0x18]
call fcn.140076e90
test eax, eax
je 0x1400c0061
mov rcx, qword [rsp + 0x2a0]
call fcn.140081240
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xf4], eax
mov r9d, 1
mov r8d, dword [rsp + 0xf4]
mov rax, qword [rsp + 0x1b8]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400bf220
mov rax, qword [rsp + 0x1b8]
movzx eax, byte [rax]
sub eax, 0x37
and eax, 3
or eax, 1
cdqe
movzx eax, byte [rsp + rax + 0xa4]
mov dword [rsp + 0x1a0], eax
jmp 0x1400c00bd
lea r8, [rsp + 0xf8]
mov rax, qword [rsp + 0x1b8]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x2a0]
call fcn.14007e520
mov dword [rsp + 0xf4], eax
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x2c0]
call fcn.1400be0b0
mov rax, qword [rsp + 0x1b8]
movzx eax, byte [rax]
sub eax, 0x36
cdqe
movzx eax, byte [rsp + rax + 0xa4]
mov dword [rsp + 0x1a0], eax
mov eax, dword [rsp + 0xf4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xfc]
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x2a8]
call fcn.140059320
mov edx, dword [rsp + 0xf8]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400812b0
jmp 0x1400c013f
cmp dword [rsp + 0x68], 0
je 0x1400c0113
mov dword [rsp + 0x1a4], Ordinal_41
jmp 0x1400c011e
mov dword [rsp + 0x1a4], reloc.WLDAP32.dll_Ordinal_36
mov r9d, dword [rsp + 0x174]
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x1a4]
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
cmp qword [rsp + 0x100], 0
je 0x1400c0277
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x1a8], eax
mov rax, qword [rsp + 0x2a0]
mov ecx, dword [rsp + 0x1a8]
mov dword [rax + 0x38], ecx
mov eax, dword [rsp + 0x1a8]
mov dword [rsp + 0xe0], eax
mov r9d, 1
mov r8d, dword [rsp + 0xe0]
mov rax, qword [rsp + 0x1c0]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400bf220
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rax + 0x18]
call fcn.140076e90
test eax, eax
jne 0x1400c0220
mov rax, qword [rsp + 0x1c0]
movzx eax, byte [rax]
cmp eax, 0x38
je 0x1400c01f1
mov rax, qword [rsp + 0x1c0]
movzx eax, byte [rax]
cmp eax, 0x36
jne 0x1400c0220
cmp dword [rsp + 0x68], 0
je 0x1400c0205
mov dword [rsp + 0x1ac], 0x37
jmp 0x1400c0210
mov dword [rsp + 0x1ac], 0x39
mov eax, dword [rsp + 0x1ac]
mov dword [rsp + 0xc4], eax
jmp 0x1400c024d
cmp dword [rsp + 0x68], 0
je 0x1400c0234
mov dword [rsp + 0x1b0], 0x38
jmp 0x1400c023f
mov dword [rsp + 0x1b0], reloc.WLDAP32.dll_Ordinal_54
mov eax, dword [rsp + 0x1b0]
mov dword [rsp + 0xc4], eax
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rax + 0x18]
call fcn.140076e90
test eax, eax
jne 0x1400c0277
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x2c0]
call fcn.1400be0b0
mov rcx, qword [rsp + 0x2a8]
call fcn.140059e60
mov dword [rsp + 0x1f0], eax
cmp dword [rsp + 0x68], 0
je 0x1400c029f
mov dword [rsp + 0x138], 4
jmp 0x1400c02aa
mov dword [rsp + 0x138], 5
mov rax, qword [rsp + 0x2c0]
movzx ecx, byte [rsp + 0x138]
mov byte [rax + 0x2d], cl
mov rax, qword [rsp + 0x2c0]
mov ecx, dword [rsp + 0x64]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x2c0]
mov ecx, dword [rsp + 0x1f0]
mov dword [rax + 0x34], ecx
cmp dword [rsp + 0xc4], 0xaa
je 0x1400c0379
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x13c], eax
mov rax, qword [rsp + 0x2a0]
mov ecx, dword [rsp + 0x13c]
mov dword [rax + 0x38], ecx
mov eax, dword [rsp + 0x13c]
mov dword [rsp + 0x7c], eax
mov r9d, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x64]
mov edx, 0x80
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xfc]
mov r8d, dword [rsp + 0xe0]
mov edx, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x2a8]
call fcn.140059320
mov dx, 0x53
mov rcx, qword [rsp + 0x2a8]
call fcn.14005a130
jmp 0x1400c12fe
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x200
test eax, eax
je 0x1400c126c
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x18]
mov word [rsp + 0x48], ax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1a]
mov word [rsp + 0x84], ax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1c]
mov word [rsp + 0x70], ax
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0x88], 0
mov qword [rsp + 0x1c8], 0
mov byte [rsp + 0x44], 0
mov byte [rsp + 0x6c], 0
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x80], eax
movzx eax, word [rsp + 0x48]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x20
test eax, eax
je 0x1400c04a0
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1a]
cmp dword [rsp + 0x88], eax
jle 0x1400c0482
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x140], eax
jmp 0x1400c0492
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1a]
mov dword [rsp + 0x140], eax
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x10
test eax, eax
je 0x1400c0570
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1c]
cmp dword [rsp + 0x88], eax
jle 0x1400c04f9
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x144], eax
jmp 0x1400c0509
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1c]
mov dword [rsp + 0x144], eax
mov eax, dword [rsp + 0x144]
mov dword [rsp + 0x88], eax
cmp qword [rsp + 0xa8], 0
jne 0x1400c0570
movzx eax, word [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1400c0564
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rsp + 0x40]
imul rcx, rcx, 0x20
mov rax, qword [rax + 8]
movzx eax, byte [rax + rcx + 0x18]
test eax, eax
je 0x1400c056b
cmp dword [rsp + 0x40], 0xfffffffe
jne 0x1400c0570
mov byte [rsp + 0x44], 1
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x30
test eax, eax
jne 0x1400c05f8
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x80000
test eax, eax
je 0x1400c05f8
mov dword [rsp + 0x88], 1
mov byte [rsp + 0x44], 1
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x148], eax
mov rax, qword [rsp + 0x2a0]
mov ecx, dword [rsp + 0x148]
mov dword [rax + 0x38], ecx
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x2c0]
mov ecx, dword [rsp + 0x78]
mov dword [rax + 0x24], ecx
mov rcx, qword [rsp + 0x2a0]
call fcn.140059a50
mov rcx, qword [rsp + 0x2c0]
mov dword [rcx + 0x28], eax
movzx eax, word [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
movzx ecx, word [rcx + 0x5e]
cmp eax, ecx
jge 0x1400c064b
movzx eax, word [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x38]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x1400c0633
mov dword [rsp + 0x14c], 1
jmp 0x1400c063e
mov dword [rsp + 0x14c], 0
mov eax, dword [rsp + 0x14c]
cmp dword [rsp + 0x68], eax
je 0x1400c066b
cmp dword [rsp + 0x68], 0
je 0x1400c06e5
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x5e]
movzx ecx, word [rsp + 0x48]
cmp eax, ecx
jne 0x1400c06e5
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0xa8], rax
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x98], al
movzx eax, byte [rsp + 0x6c]
mov byte [rsp + 0x44], al
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 0x6c], al
movzx eax, byte [rsp + 0x84]
mov byte [rsp + 0x99], al
movzx eax, word [rsp + 0x70]
mov word [rsp + 0x84], ax
movzx eax, byte [rsp + 0x99]
mov word [rsp + 0x70], ax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400beca0
mov dword [rsp + 0x74], eax
cmp qword [rsp + 0x120], 0
je 0x1400c0757
movzx eax, word [rsp + 0x70]
test eax, eax
je 0x1400c0757
movzx eax, word [rsp + 0x48]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x128]
call fcn.140027ca0
mov qword [rsp + 0x1c8], rax
cmp dword [rsp + 0x78], 0
je 0x1400c0772
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x150], eax
jmp 0x1400c0784
mov rax, qword [rsp + 0x2c0]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x150], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x8c], eax
cmp qword [rsp + 0xa8], 0
je 0x1400c07bd
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0x14]
and eax, 0x28
test eax, eax
jne 0x1400c07bd
mov dword [rsp + 0x154], 0
jmp 0x1400c07c8
mov dword [rsp + 0x154], 1
mov eax, dword [rsp + 0x154]
mov dword [rsp + 0xc8], eax
cmp qword [rsp + 0xd0], 0
je 0x1400c0801
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x14]
and eax, 0x28
test eax, eax
jne 0x1400c0801
mov dword [rsp + 0x158], 0
jmp 0x1400c080c
mov dword [rsp + 0x158], 1
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0xe8], eax
cmp qword [rsp + 0xa8], 0
jne 0x1400c083b
movzx eax, word [rsp + 0x48]
test eax, eax
jg 0x1400c083b
mov dword [rsp + 0x15c], 0
jmp 0x1400c0846
mov dword [rsp + 0x15c], 1
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0xe4], eax
movzx eax, word [rsp + 0x48]
mov dword [rsp + 0x60], eax
cmp qword [rsp + 0xa8], 0
je 0x1400c098a
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x1d8], rax
movzx eax, word [rsp + 0x84]
movzx ecx, word [rsp + 0x48]
mov edx, dword [rsp + 0x74]
add edx, ecx
mov ecx, edx
mov r9d, eax
mov r8d, ecx
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400bf220
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 0x12]
and eax, 0
test eax, eax
jne 0x1400c0901
mov rcx, qword [rsp + 0x1d8]
call fcn.140079ea0
test eax, eax
je 0x1400c0901
movzx eax, word [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov r9d, dword [rsp + 0x8c]
mov r8d, eax
mov edx, Ordinal_54
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
cmp qword [rsp + 0x120], 0
je 0x1400c0939
movzx eax, word [rsp + 0x48]
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
movzx ecx, word [rsp + 0x84]
mov r8, rax
mov edx, ecx
mov rcx, qword [rsp + 0x1d8]
call fcn.1400be2a0
movzx eax, word [rsp + 0x84]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x1d8]
call fcn.140076e90
test eax, eax
jne 0x1400c0975
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x2c0]
call fcn.1400be0b0
jmp 0x1400c0980
mov dword [rsp + 0xc8], 1
mov byte [rsp + 0x44], 0
jmp 0x1400c0a1b
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x1400c09da
mov dword [rsp + 0xc8], 0
movzx eax, word [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov r9d, eax
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_73
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov dword [rsp + 0xe4], 1
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
jmp 0x1400c0a1b
cmp dword [rsp + 0x78], 0
je 0x1400c0a1b
movzx eax, word [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov r9d, eax
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_73
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov dword [rsp + 0xe4], 1
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
movzx eax, byte [rsp + 0x44]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov r9, qword [rsp + 0x120]
mov r8d, eax
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400be1c0
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x2e]
test eax, eax
jle 0x1400c0a65
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x2e]
cmp dword [rsp + 0x60], eax
jne 0x1400c0a65
jmp 0x1400c0bc8
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x40000
test eax, eax
je 0x1400c0a90
mov r8d, dword [rsp + 0x80]
mov edx, Ordinal_122
mov rcx, qword [rsp + 0x2a8]
call fcn.140059440
cmp dword [rsp + 0x78], 0
je 0x1400c0ab4
mov r9d, dword [rsp + 0x78]
mov r8d, 1
mov edx, Ordinal_73
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0xc8]
lea eax, [rax + rcx*2]
mov ecx, dword [rsp + 0xe4]
lea eax, [rax + rcx*4]
cdqe
lea rcx, [0x140174030]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x8c]
mov r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x2a8]
call fcn.140059970
cmp dword [rsp + 0x78], 0
je 0x1400c0bc8
mov rcx, qword [rsp + 0x2a8]
call fcn.140059e60
add eax, 2
mov r9d, eax
xor r8d, r8d
mov edx, reloc.Cabinet.dll_FCIAddFile
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
cmp dword [rsp + 0x60], 1
jle 0x1400c0b5b
mov dword [rsp + 0x160], 1
jmp 0x1400c0b66
mov dword [rsp + 0x160], 0
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x160]
lea eax, [rax + rcx*4 + 2]
cdqe
lea rcx, [0x140174030]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0xc8]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x8c]
mov r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x2a8]
call fcn.140059970
movzx eax, word [rsp + 0x48]
mov dword [rsp + 0x60], eax
cmp qword [rsp + 0xd0], 0
je 0x1400c0d0b
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x1e0], rax
movzx eax, word [rsp + 0x70]
movzx ecx, word [rsp + 0x48]
mov edx, dword [rsp + 0x74]
add edx, ecx
mov ecx, edx
mov r9d, eax
mov r8d, ecx
mov rdx, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x2a0]
call fcn.1400bf220
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x12]
and eax, 0
test eax, eax
jne 0x1400c0c72
mov rcx, qword [rsp + 0x1e0]
call fcn.140079ea0
test eax, eax
je 0x1400c0c72
movzx eax, word [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov r9d, dword [rsp + 0x8c]
mov r8d, eax
mov edx, Ordinal_54
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
cmp qword [rsp + 0x1c8], 0
je 0x1400c0cc5
movzx eax, word [rsp + 0x70]
mov r8, qword [rsp + 0x1c8]
mov edx, eax
mov rcx, qword [rsp + 0x1e0]
call fcn.1400be2a0
movzx eax, word [rsp + 0x70]
movzx ecx, word [rsp + 0x48]
mov edx, dword [rsp + 0x74]
add edx, ecx
mov ecx, edx
mov r9, qword [rsp + 0x1c8]
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0x2a0]
call fcn.1400be1c0
movzx eax, word [rsp + 0x70]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x1e0]
call fcn.140076e90
test eax, eax
jne 0x1400c0cfe
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x2c0]
call fcn.1400be0b0
jmp 0x1400c0d09
mov dword [rsp + 0xe8], 1
jmp 0x1400c0d55
movzx eax, byte [rsp + 0x6c]
test eax, eax
je 0x1400c0d55
cmp dword [rsp + 0x78], 0
jne 0x1400c0d4b
movzx eax, word [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov r9d, eax
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_73
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.140027660
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x128]
call fcn.140027660
mov rcx, qword [rsp + 0x2a8]
call fcn.140059e60
mov rcx, qword [rsp + 0x2c0]
mov dword [rcx + 0x34], eax
cmp dword [rsp + 0x60], 0
je 0x1400c0e29
cmp dword [rsp + 0x78], 0
je 0x1400c0dd3
mov rcx, qword [rsp + 0x2a8]
call fcn.140059e60
add eax, 3
mov r9d, eax
mov r8d, dword [rsp + 0x78]
mov edx, SQLAllocHandle
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov eax, dword [rsp + 0xe8]
mov ecx, dword [rsp + 0x68]
lea eax, [rax + rcx*2]
cdqe
lea rcx, str.__
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x8c]
mov r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x2a8]
call fcn.140059970
cmp dword [rsp + 0x78], 0
je 0x1400c0ebb
mov rcx, qword [rsp + 0x2a8]
call fcn.140059e60
add eax, 2
mov r9d, eax
mov r8d, dword [rsp + 0x78]
mov edx, 0x12
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
movzx eax, byte [rsp + 0x44]
mov ecx, dword [rsp + 0x68]
lea eax, [rax + rcx*2]
cdqe
lea rcx, str.__
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x9c], eax
movzx eax, byte [rsp + 0x44]
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x8c]
mov r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x9c]
mov rcx, qword [rsp + 0x2a8]
call fcn.140059970
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x40000
test eax, eax
je 0x1400c0eec
mov r9d, 1
mov r8d, dword [rsp + 0x80]
mov edx, Ordinal_122
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x40
test eax, eax
je 0x1400c0f1b
mov rax, qword [rsp + 0x2b0]
movzx eax, word [rax + 0x40]
and eax, 0x20
test eax, eax
jne 0x1400c0f1b
mov dword [rsp + 0x164], 1
jmp 0x1400c0f26
mov dword [rsp + 0x164], 0
mov eax, dword [rsp + 0x164]
mov dword [rsp + 0x170], eax
cmp dword [rsp + 0x170], 0
je 0x1400c0f43
jmp 0x1400c113b
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 0x40]
and eax, 0x20
test eax, eax
jne 0x1400c1037
mov rax, qword [rsp + 0x2b0]
movzx eax, word [rax + 0x40]
and eax, 0x400
test eax, eax
jne 0x1400c0f9c
mov rax, qword [rsp + 0x2b0]
movzx eax, word [rax + 0x40]
and eax, 0x1000
test eax, eax
je 0x1400c1010
mov rax, qword [rsp + 0x2b0]
movzx eax, byte [rax + 0x45]
cmp eax, 1
jne 0x1400c1010
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x168], eax
mov rax, qword [rsp + 0x2a0]
mov ecx, dword [rsp + 0x168]
mov dword [rax + 0x38], ecx
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x7c], eax
mov r9d, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x80]
mov edx, Ordinal_139
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x64]
mov edx, reloc.ODBC32.dll_SQLFreeHandle
mov rcx, qword [rsp + 0x2a8]
call fcn.140059320
jmp 0x1400c1032
mov r9d, dword [rsp + 0x80]
mov r8d, dword [rsp + 0x64]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x2b0]
call fcn.1400bf090
jmp 0x1400c113b
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x64], eax
je 0x1400c113b
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x18]
call fcn.1400893a0
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
movzx eax, word [rax + 0x5e]
mov edx, eax
mov rcx, qword [rsp + 0x2a0]
call fcn.140081300
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x40], 0
jmp 0x1400c1094
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1e8]
movzx eax, word [rax + 0x5e]
cmp dword [rsp + 0x40], eax
jge 0x1400c1104
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1e8]
mov rcx, qword [rcx + 8]
movzx edx, word [rcx + rax*2]
mov rcx, qword [rsp + 0x90]
call fcn.1400893f0
cwde
mov dword [rsp + 0x1f4], eax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x1f4]
mov r8d, dword [rsp + 0x80]
mov edx, 0x5a
mov rcx, qword [rsp + 0x2a8]
call fcn.140059320
jmp 0x1400c108a
mov rax, qword [rsp + 0x1e8]
movzx eax, word [rax + 0x5e]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xb8]
mov r8d, dword [rsp + 0x64]
mov edx, SQLFreeHandle
mov rcx, qword [rsp + 0x2a8]
call fcn.140059970
mov rax, qword [rsp + 0x2c0]
cmp dword [rax], 0
jne 0x1400c117c
mov rax, qword [rsp + 0x2b0]
movzx eax, word [rax + 0x40]
and eax, 0x20
test eax, eax
jne 0x1400c117c
mov r9, qword [rsp + 0x2b0]
mov r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x90]
call fcn.1400bf3d0
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x48], 0
je 0x1400c11a8
mov r8, qword [rsp + 0xd8]
mov edx, dword [rsp + 0x64]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x48]
call fcn.1400bf500
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x1000
test eax, eax
je 0x1400c11c7
mov rax, qword [rsp + 0x2c0]
mov byte [rax + 0x2d], 0xaa
jmp 0x1400c11e8
cmp dword [rsp + 0x68], 0
je 0x1400c11dc
mov rax, qword [rsp + 0x2c0]
mov byte [rax + 0x2d], 4
jmp 0x1400c11e8
mov rax, qword [rsp + 0x2c0]
mov byte [rax + 0x2d], 5
mov rax, qword [rsp + 0x2c0]
mov ecx, dword [rsp + 0x80]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0x10000
test eax, eax
je 0x1400c1218
mov dword [rsp + 0x16c], 1
jmp 0x1400c1223
mov dword [rsp + 0x16c], 0
mov rax, qword [rsp + 0x2c0]
movzx ecx, byte [rsp + 0x16c]
mov byte [rax + 0x2e], cl
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x28]
and eax, 0xf
test eax, eax
jne 0x1400c1251
mov rax, qword [rsp + 0x2c0]
mov byte [rax + 0x2f], 1
cmp dword [rsp + 0x170], 0
je 0x1400c1267
mov qword [rsp + 0x90], 0
jmp 0x1400c12fe
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x40]
shr eax, 5
and eax, 1
test eax, eax
je 0x1400c128f
mov rax, qword [rsp + 0x2c0]
mov byte [rax + 0x2d], 0xaa
jmp 0x1400c12fe
movsxd rax, dword [rsp + 0x68]
lea rcx, [0x140178998]
mov rdx, qword [rsp + 0x2c0]
movzx eax, byte [rcx + rax]
mov byte [rdx + 0x2d], al
mov rax, qword [rsp + 0x2c0]
mov ecx, dword [rsp + 0x64]
mov dword [rax + 0x30], ecx
movsxd rax, dword [rsp + 0x68]
lea rcx, [0x140174028]
movzx eax, byte [rcx + rax]
mov r9d, dword [rsp + 0x174]
mov r8d, dword [rsp + 0x64]
mov edx, eax
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
inc eax
mov rcx, qword [rsp + 0x2c0]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x2c0]
mov byte [rax + 0x2f], 1
cmp qword [rsp + 0x90], 0
je 0x1400c1316
mov dword [rsp + 0x178], 1
jmp 0x1400c1321
mov dword [rsp + 0x178], 2
mov eax, dword [rsp + 0x178]
mov dword [rsp + 0xb4], eax
mov dword [rsp + 0xb0], 0
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x40], eax
jmp 0x1400c1374
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x50]
add rax, 0x40
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x40], 0
jle 0x1400c14e7
mov dword [rsp + 0x17c], 0
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x12]
and eax, 6
test eax, eax
je 0x1400c139c
jmp 0x1400c135c
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2c0]
mov rcx, qword [rcx + 0x50]
mov rax, qword [rax + 0x38]
and rax, rcx
test rax, rax
je 0x1400c13c7
mov rax, qword [rsp + 0x2b0]
mov byte [rax + 0x46], 1
jmp 0x1400c135c
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x108]
movzx eax, byte [rax + 0x3c]
and eax, 8
test eax, eax
je 0x1400c1401
mov rax, qword [rsp + 0x200]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
jne 0x1400c1401
jmp 0x1400c135c
cmp dword [rsp + 0xb4], 1
jne 0x1400c143f
mov r8, qword [rsp + 0x90]
mov rax, qword [rsp + 0x2c0]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x200]
call fcn.1400808c0
test eax, eax
jne 0x1400c143f
mov dword [rsp + 0xb0], 2
jmp 0x1400c135c
cmp dword [rsp + 0xb4], 3
jge 0x1400c1475
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x12]
and eax, 0x1000
test eax, eax
je 0x1400c1475
cmp dword [rsp + 0xb0], 0
jne 0x1400c1470
mov dword [rsp + 0xb0], 3
jmp 0x1400c135c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x12]
and eax, 0x200
test eax, eax
je 0x1400c148c
jmp 0x1400c135c
mov r9d, 0x10
mov r8d, dword [rsp + 0xb8]
mov rdx, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x2a0]
call fcn.14007f2d0
cmp dword [rsp + 0x17c], 0
je 0x1400c14cd
mov edx, dword [rsp + 0x17c]
mov rcx, qword [rsp + 0x2a8]
call fcn.14005a180
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x12]
or eax, 4
mov rcx, qword [rsp + 0x50]
mov word [rcx + 0x12], ax
jmp 0x1400c135c
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0xb4], eax
cmp dword [rsp + 0xb4], 0
jg 0x1400c132f
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x40], eax
jmp 0x1400c153d
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x50]
add rax, 0x40
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x40], 0
jle 0x1400c16b6
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x12]
and eax, 6
test eax, eax
je 0x1400c155a
jmp 0x1400c1525
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
and eax, 0x82
test eax, eax
jne 0x1400c156e
jmp 0x1400c1525
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
and eax, 0x800
test eax, eax
jne 0x1400c1582
jmp 0x1400c1525
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x64]
cmp dword [rax + 0x1c], ecx
je 0x1400c1592
jmp 0x1400c1525
mov rax, qword [rsp + 0x2c0]
cmp dword [rax], 0
je 0x1400c15a1
jmp 0x1400c1525
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], Ordinal_133
mov r9, qword [rsp + 0x2c8]
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 0x28]
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xd8]
call fcn.1400c41b0
mov qword [rsp + reloc.WLDAP32.dll_Ordinal_304], rax
cmp qword [rsp + reloc.WLDAP32.dll_Ordinal_304], 0
jne 0x1400c15fc
jmp 0x1400c1525
mov rax, qword [rsp + reloc.WLDAP32.dll_Ordinal_304]
movzx eax, word [rax + 0x12]
and eax, 4
test eax, eax
je 0x1400c1614
jmp 0x1400c1525
mov rax, qword [rsp + reloc.WLDAP32.dll_Ordinal_304]
movzx eax, word [rax + 0x14]
and eax, 1
test eax, eax
je 0x1400c165a
mov rax, qword [rsp + reloc.WLDAP32.dll_Ordinal_304]
mov rax, qword [rax]
mov eax, dword [rax + 4]
and eax, 0x800
test eax, eax
je 0x1400c165a
mov rax, qword [rsp + reloc.WLDAP32.dll_Ordinal_304]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
cmp dword [rax], 1
jle 0x1400c165a
jmp 0x1400c1525
mov rax, qword [rsp + reloc.WLDAP32.dll_Ordinal_304]
mov rax, qword [rax]
lea rcx, [rsp + 0x230]
mov rdi, rcx
mov rsi, rax
mov ecx, Ordinal_73
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x240], rax
mov r9d, 0x10
mov r8d, dword [rsp + 0xb8]
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x2a0]
call fcn.14007f2d0
jmp 0x1400c1525
mov rax, qword [rsp + 0x2c0]
cmp dword [rax], 0
je 0x1400c17b4
mov rcx, qword [rsp + 0x2a8]
call fcn.140059e60
mov rcx, qword [rsp + 0x2c0]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x2c0]
mov r9d, dword [rax]
mov r8d, 1
mov edx, Ordinal_73
mov rcx, qword [rsp + 0x2a8]
call fcn.140059480
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 0
jmp 0x1400c1735
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x50]
add rax, 0x40
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x40], eax
jge 0x1400c17b4
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x12]
and eax, 6
test eax, eax
je 0x1400c1758
jmp 0x1400c171d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2c0]
mov rcx, qword [rcx + 0x50]
mov rax, qword [rax + 0x38]
and rax, rcx
test rax, rax
je 0x1400c1777
jmp 0x1400c171d
mov r9d, 0x10
mov r8d, dword [rsp + 0xb8]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x2a0]
call fcn.14007f2d0
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x12]
or eax, 4
mov rcx, qword [rsp + 0x50]
mov word [rcx + 0x12], ax
jmp 0x1400c171d
mov rax, qword [rsp + 0x2c0]
mov rax, qword [rax + 0x50]
add rsp, 0x288
pop rdi
pop rsi
ret