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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x120], 0
jne 0x14003d41a
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x14]
test eax, eax
jne 0x14003d41a
mov dword [rsp + 0x34], 1
mov edx, 1
mov rcx, qword [rsp + 0x70]
call fcn.14003b7b0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14003d18c
jmp 0x14003d472
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x15]
cmp eax, 1
jg 0x14003d1ad
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x70]
call fcn.14003cf00
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14003d1b9
jmp 0x14003d472
cmp dword [rsp + 0x34], 0
je 0x14003d353
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x12]
test eax, eax
je 0x14003d1de
mov dword [rsp + 0x30], 0x308
jmp 0x14003d472
mov edx, 4
mov rcx, qword [rsp + 0x70]
call fcn.1400383f0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14003d1fd
jmp 0x14003d472
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
cmp qword [rax], 0
jne 0x14003d2bd
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0xd8]
mov rcx, qword [rsp + 0x48]
call fcn.140026900
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14003d2bd
cmp dword [rsp + 0x40], 0
je 0x14003d2bd
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x44], 0x802
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 0x50]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0xd8]
mov rcx, qword [rsp + 0x48]
call fcn.140026870
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14003d2bd
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x14003d2bd
mov ecx, 0xdaf7
call fcn.1400e0250
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x50]
call fcn.140026420
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x50]
cmp qword [rax], 0
je 0x14003d31d
mov rcx, qword [rsp + 0x70]
call fcn.14003b820
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14003d31b
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x10]
test eax, eax
jne 0x14003d2f8
mov dword [rsp + 0x3c], 1
jmp 0x14003d300
mov dword [rsp + 0x3c], 0
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x70]
call fcn.14003a1d0
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x14], 0
jmp 0x14003d339
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x14003d339
mov edx, 1
mov rcx, qword [rsp + 0x70]
call fcn.140038370
cmp dword [rsp + 0x30], 0
je 0x14003d353
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400392c0
jmp 0x14003d472
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x10]
test eax, eax
jne 0x14003d40c
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x1b]
test eax, eax
je 0x14003d40c
mov r9d, reloc.ODBC32.dll_SQLAllocHandle
mov r8d, 0x10
lea rdx, [rsp + 0x50]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x48]
call fcn.140026460
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14003d3c0
cmp dword [rsp + 0x30], 0x20a
je 0x14003d3ae
jmp 0x14003d472
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140161800
mov rax, qword [rsp + 0x70]
add rax, 0x88
mov r8d, 0x10
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140161ba0
test eax, eax
je 0x14003d40c
mov rcx, qword [rsp + 0x70]
call fcn.140038f20
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x1a]
test eax, eax
je 0x14003d40c
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x48]
call fcn.140026830
mov rcx, qword [rsp + 0x70]
call fcn.14003ac90
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x120], 0
je 0x14003d437
mov rcx, qword [rsp + 0x70]
call fcn.14003ab40
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x10]
test eax, eax
jne 0x14003d472
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x14]
test eax, eax
jne 0x14003d472
cmp dword [rsp + 0x30], 0
jne 0x14003d472
mov rax, qword [rsp + 0x70]
add rax, 0x1c
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14003abc0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14003d485
mov rcx, qword [rsp + 0x70]
call fcn.1400390e0
jmp 0x14003d497
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x14], 1
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x1b], 1
mov eax, dword [rsp + 0x30]
add rsp, 0x68
ret