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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rcx]
mov rsi, rcx
mov rbp, qword [rcx + 8]
mov r14d, r8d
xor ecx, ecx
mov r15d, edx
mov dword [rsp + 0x80], ecx
mov r13d, dword [rdi + 0x44]
movzx r12d, byte [rbp + 0x20]
dec r13d
mov rbx, qword [rsi + 0x10]
mov byte [rsp + 0x88], r12b
mov dword [rdi + 0x44], r13d
mov dword [rsp + 0x34], ecx
cmp edx, 2
jne 0x1400b51d4
cmp byte [rbp + 0x21], 0x5a
jne 0x1400b51d4
xor eax, eax
jmp 0x1400b56a1
mov r9d, 0x39
test r14d, r14d
jle 0x1400b525c
cmp byte [rbp + 0x20], 0x59
jne 0x1400b5244
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x34], eax
cmp r15d, 2
jne 0x1400b5222
cmp byte [rbp + 0x21], 0x56
jne 0x1400b5201
mov r8d, dword [rsi + 0x30]
jmp 0x1400b5205
mov r8d, dword [rsi + 0x28]
mov edx, 0x37
mov eax, SQLGetData
cmovne edx, r9d
mov r9d, 0x30
cmovne eax, r9d
mov ecx, dword [rax + rsi]
jmp 0x1400b522e
mov r8d, dword [rsi + 0x38]
mov edx, 0x36
mov ecx, dword [rsi + 0x30]
mov dword [rsp + 0x28], r13d
mov r9d, r14d
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400b4c30
jmp 0x1400b525c
mov r9d, r13d
mov dword [rsp + 0x20], 1
mov edx, 0x2f
mov rcx, rbx
call fcn.14003c940
cmp r15d, 1
jne 0x1400b5275
cmp dword [rbp + 0x84], 0
jne 0x1400b5275
xor edx, edx
mov rcx, rsi
call fcn.1400b3310
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x38], eax
movzx eax, byte [rbp + 0x22]
cmp byte [rbp + 0x21], al
jne 0x1400b539d
test r14d, r14d
je 0x1400b539d
cmp byte [rbp + 0x20], 0x59
jne 0x1400b539d
cmp r15d, 2
jne 0x1400b539d
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1400b52c1
inc dword [rdi + 0x38]
mov r12d, dword [rdi + 0x38]
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x1400b52ee
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0xbc]
test al, al
jne 0x1400b52de
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x1400b52ee
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xbc]
mov r8d, dword [rsi + 0x28]
mov r9d, r12d
mov edx, 0x80
mov rcx, rbx
call fcn.14003ca90
mov r8d, dword [rsi + 0x38]
mov r9d, r14d
mov edx, 0x80
mov rcx, rbx
call fcn.14003ca90
mov r9d, r13d
mov dword [rsp + 0x20], r12d
mov r8d, r14d
mov edx, 0x39
mov rcx, rbx
call fcn.14003c940
test r12d, r12d
je 0x1400b5346
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1400b5346
mov dword [rdi + rax*4 + 0xbc], r12d
inc byte [rdi + 0x1f]
test r14d, r14d
je 0x1400b535e
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1400b535e
mov dword [rdi + rax*4 + 0xbc], r14d
inc byte [rdi + 0x1f]
mov r8d, dword [rbp + 0x84]
mov r9d, 1
mov r12d, dword [rsi + 0x2c]
mov r14d, dword [rsi + 0x28]
mov dword [rsp + 0x30], r12d
test r8d, r8d
jne 0x1400b53cd
mov eax, dword [rsi + 0x20]
mov r8d, r14d
mov rdx, rbp
mov dword [rsp + 0x20], eax
mov rcx, rsi
call fcn.1400b2870
movzx r12d, byte [rsp + 0x88]
jmp 0x1400b53fd
mov ecx, r15d
sub ecx, 1
je 0x1400b53ea
cmp ecx, 1
je 0x1400b535e
cmp dword [rbp + 0x84], 0
mov r12d, dword [rsi + 0x3c]
mov r14d, dword [rsi + 0x38]
mov dword [rsp + 0x30], r12d
je 0x1400b53e5
mov r8d, dword [rbp + 0x88]
mov r9d, 1
mov edx, 0x53
mov rcx, rbx
call fcn.14003ca90
movzx r12d, byte [rsp + 0x88]
jmp 0x1400b53fd
xor r9d, r9d
jmp 0x1400b537d
mov eax, dword [rsi + 0x34]
mov rcx, rsi
mov r14d, dword [rsi + 0x30]
mov dword [rsp + 0x30], eax
call fcn.1400b3ee0
cmp r15d, dword [rsi + 0x24]
jne 0x1400b547f
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400b542e
xor r15d, r15d
xor r9d, r9d
mov r8d, r14d
mov dword [rsp + 0x20], r15d
mov rcx, rbx
lea edx, [r15 + 0x7b]
call fcn.14003c8e0
jmp 0x1400b545d
lea eax, [rcx + 1]
xor edx, edx
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
xor r15d, r15d
mov dword [rax + rcx*8], Ordinal_127
mov dword [rax + rcx*8 + 4], r14d
mov qword [rax + rcx*8 + 8], rdx
mov qword [rax + rcx*8 + 0x10], rdx
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x1400b5482
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1400b5482
xor r15d, r15d
cmp dword [rsp + 0x98], 0
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
je 0x1400b5511
lea edx, [rcx + 2]
cmp eax, ecx
jg 0x1400b54ba
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 5
mov r8d, r14d
mov rcx, rbx
call fcn.14003c8e0
jmp 0x1400b54eb
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 5
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov edx, reloc.Cabinet.dll_FCIAddFile
mov rcx, rbx
call fcn.14003c9b0
mov dword [rsp + 0x80], eax
mov r15d, eax
cmp r12b, 0x4c
je 0x1400b5614
xor r15d, r15d
jmp 0x1400b5589
xor r15d, r15d
cmp r12b, 0x4c
mov edx, r15d
setne dl
inc edx
add edx, ecx
cmp eax, ecx
jg 0x1400b553f
mov r9d, edx
mov dword [rsp + 0x20], r15d
lea edx, [r15 + 5]
mov r8d, r14d
mov rcx, rbx
call fcn.14003c8e0
jmp 0x1400b556d
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 5
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
cmp r12b, 0x4c
je 0x1400b5614
xor r8d, r8d
mov r9d, r13d
mov rcx, rbx
lea edx, [r8 + 0xb]
call fcn.14003ca90
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x1400b55a7
mov r15d, dword [rax]
test r15d, r15d
je 0x1400b55a7
mov edx, r15d
mov rcx, rdi
call fcn.14005d5b0
jmp 0x1400b55a9
xor eax, eax
mov r8d, eax
mov edx, r14d
mov rcx, rsi
mov r12d, eax
call fcn.1400b2760
mov eax, dword [rsp + 0x38]
mov r8d, r12d
mov r9d, dword [rsp + 0x30]
mov rcx, rdi
mov rdx, qword [rbp + 0x18]
mov dword [rsp + 0x20], eax
call fcn.1400b4a00
cmp r15d, 1
jne 0x1400b55fe
test r12d, r12d
je 0x1400b560c
movzx eax, byte [rdi + 0x1f]
mov r15d, dword [rsp + 0x80]
cmp al, 8
jae 0x1400b5614
mov dword [rdi + rax*4 + 0xbc], r12d
inc byte [rdi + 0x1f]
jmp 0x1400b5614
cmp r15d, dword [rdi + 0x28]
jle 0x1400b560c
mov dword [rdi + 0x28], r15d
mov dword [rdi + 0x2c], r12d
mov r15d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x34]
test edx, edx
je 0x1400b5671
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400b5644
xor eax, eax
mov r9d, edx
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0xb]
call fcn.14003c8e0
jmp 0x1400b5671
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], reloc.Cabinet.dll_FCIAddFile
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
not r13d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1400b568d
mov r8d, r13d
mov rdx, rbx
call fcn.14003d4c0
jmp 0x1400b569e
mov rdx, qword [rcx + 0x50]
mov ecx, dword [rbx + 0x90]
movsxd r8, r13d
mov dword [rdx + r8*4], ecx
mov eax, r15d
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret