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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov qword [rdx], 0
mov r15, rcx
mov rbx, rdx
mov r14, r9
mov dword [rsp + 0xc0], r8d
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
call fcn.0046ee70
mov r13d, eax
test eax, eax
jne 0x4bdabd
cmp byte [0x0060de64], 0
mov eax, dword [rsp + 0xc0]
jne 0x4bdaf8
test eax, 0x40000
je 0x4bdad8
and eax, 0xfffdffff
mov ecx, dword [0x0060de60]
and eax, 0xfff600e7
mov dword [rsp + 0xc0], eax
test ecx, ecx
je 0x4bdc80
mov rcx, qword [0x0066ea40]
test rcx, rcx
je 0x4bd71a
call qword [0x0060dee0]
mov ecx, 0x310
call fcn.00410e20
mov r12, rax
test r12, r12
je 0x4bdc68
lea rdi, [r12 + 8]
mov rcx, r12
xor eax, eax
mov qword [r12], 0
mov qword [r12 + 0x308], 0
and rdi, 0xfffffffffffffff8
sub rcx, rdi
add ecx, 0x310
shr ecx, 3
rep stosq qword [rdi], rax
test r13d, r13d
je 0x4bd795
cmp byte [0x0060de64], 0
je 0x4bdcd0
mov ecx, 1
call qword [0x0060ded0]
mov qword [r12 + 0x18], rax
mov rcx, rax
test rax, rax
je 0x4bdcd0
call qword [0x0060dee0]
mov eax, dword [rsp + 0xc0]
mov byte [r12 + 0x71], 0x6d
pxor xmm0, xmm0
lea rdi, [0x0040c2c0]
mov byte [r12 + 0x65], 1
mov r8d, 1
mov rcx, r12
movdqu xmm1, xmmword [0x0061fce0]
and eax, 0x2000000
mov byte [r12 + 0x6a], 0xff
movdqu xmm2, xmmword [0x0061fcf0]
movups xmmword [r12 + 0x88], xmm1
cmp eax, 1
movups xmmword [r12 + 0x98], xmm2
sbb eax, eax
xor edx, edx
xor r9d, r9d
mov word [r12 + 0x1a4], dx
mov rdx, qword [0x0061fd00]
and eax, 0x100
movups xmmword [r12 + 0x278], xmm0
sub eax, 1
mov qword [r12 + 0xa8], rdx
mov edx, dword [0x0061fd08]
mov dword [r12 + 0x58], eax
lea rax, [r12 + 0x2a0]
mov dword [r12 + 0xb0], edx
lea rdx, str.BINARY
mov qword [r12 + 0x20], rax
mov rax, qword [0x0060df88]
movups xmmword [r12 + 0x230], xmm0
mov qword [r12 + 0x40], rax
lea rax, [0x0060de20]
mov qword [r12 + 0xd0], rax
mov eax, 0xe00480e0
or qword [r12 + 0x30], rax
mov dword [r12 + 0x28], 2
mov dword [r12 + 0x1a0], 1
mov dword [r12 + 0xb4], 0
mov dword [r12 + 0x74], 0
mov qword [r12 + 0x270], 0
mov qword [r12 + 0x228], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdi
call fcn.00446e20
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, r12
mov qword [rsp + 0x28], 0
mov r8d, 3
lea rdx, str.BINARY
call fcn.00446e20
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, r12
mov qword [rsp + 0x28], 0
mov r8d, 2
lea rdx, str.BINARY
call fcn.00446e20
lea rax, [0x00415170]
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rdx, str.NOCASE
mov rcx, r12
call fcn.00446e20
lea rax, [0x0040c2f0]
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rdx, str.RTRIM
mov rcx, r12
call fcn.00446e20
cmp byte [r12 + 0x67], 0
jne 0x4bda08
mov eax, dword [rsp + 0xc0]
mov edx, 0x46
mov dword [r12 + 0x4c], eax
and eax, 7
bt edx, eax
jae 0x4bdc98
lea rax, [rsp + 0x50]
mov rdx, r15
mov r9, r12
mov rcx, r14
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
lea r8, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
call fcn.004bba50
mov edx, eax
test eax, eax
je 0x4bdb50
cmp eax, 7
jne 0x4bd9de
mov rcx, r12
mov dword [rsp + 0x3c], eax
call fcn.0042cc50
mov edx, dword [rsp + 0x3c]
mov r9, qword [rsp + 0x50]
mov eax, 0
lea r8, [0x00617b10]
mov rcx, r12
test r9, r9
cmove r8, rax
call fcn.00446260
mov rcx, qword [rsp + 0x50]
call fcn.0040c4a0
mov rcx, qword [r12 + 0x18]
test rcx, rcx
je 0x4bda18
call qword [0x0060def0]
movzx eax, byte [r12 + 0x71]
cmp al, 0xba
setne cl
cmp al, 0x76
setne dl
test cl, dl
je 0x4bdb20
cmp al, 0x6d
je 0x4bdb20
lea r8, str.invalid
lea rdx, str.API_call_with__s_database_connection_pointer
mov ecx, 0x15
mov r13d, 0x15
call fcn.0042e6d0
mov r9d, 0x2b1c6
lea rax, [0x0061717c]
lea r8, str.misuse
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, 0x15
call fcn.0042e6d0
mov byte [r12 + 0x71], 0xba
mov rcx, qword [rsp + 0x48]
mov qword [rbx], r12
test rcx, rcx
jne 0x4bda9c
jmp 0x4bdabd
sub rcx, 1
cmp byte [rcx - 1], 0
jne 0x4bda98
cmp byte [rcx - 2], 0
jne 0x4bda98
cmp byte [rcx - 3], 0
jne 0x4bda98
cmp byte [rcx - 4], 0
jne 0x4bda98
sub rcx, 4
call fcn.0040c4a0
mov eax, r13d
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, dword [0x0060dfac]
test r8d, r8d
je 0x4bd6ee
or eax, 0x20000
jmp 0x4bd6ee
test ah, 0x80
jne 0x4bd6de
mov r13d, 1
test eax, 0x10000
jne 0x4bd6de
movzx r13d, byte [0x0060de65]
jmp 0x4bd6de
cmp byte [r12 + 0x67], 0
jne 0x4bdc68
mov r13d, dword [r12 + 0x50]
and r13d, dword [r12 + 0x58]
cmp r13b, 7
je 0x4bdc6e
test r13d, r13d
je 0x4bda86
jmp 0x4bda80
mov eax, dword [rsp + 0xc0]
mov rdx, qword [r12 + 0x20]
mov r8, r12
mov dword [rsp + 0x20], 0
or ah, 1
lea r9, [rdx + 8]
mov rdx, qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov rcx, qword [r12]
call fcn.0048b0e0
mov edx, eax
test eax, eax
jne 0x4bdec0
mov rdi, qword [r12 + 0x20]
mov rdx, qword [rdi + 8]
cmp byte [rdx + 0x11], 0
je 0x4bdbaa
mov rcx, rdx
call fcn.0040d5e0
mov rdi, qword [r12 + 0x20]
mov rdx, qword [rdi + 8]
mov rcx, r12
call fcn.0043d260
mov qword [rdi + 0x18], rax
cmp byte [r12 + 0x67], 0
jne 0x4bdbe7
mov rax, qword [r12 + 0x20]
xor r9d, r9d
lea r8, str.BINARY
mov rcx, r12
mov rax, qword [rax + 0x18]
movzx edx, byte [rax + 0x71]
mov byte [r12 + 0x64], dl
call fcn.0043c510
mov qword [r12 + 0x10], rax
mov rsi, qword [r12 + 0x20]
mov rax, qword [rsi + 8]
cmp byte [rax + 0x11], 0
je 0x4bdc10
sub dword [rax + 0x14], 1
jne 0x4bdc10
mov rcx, qword [rax + 8]
lea rdx, [rax + 0x12]
call fcn.0040d4c0
mov rsi, qword [r12 + 0x20]
nop
xor edx, edx
mov rcx, r12
call fcn.0043d260
mov qword [rsi + 0x38], rax
mov rax, qword [r12 + 0x20]
lea rsi, str.main
mov qword [rax], rsi
lea rsi, str.temp
mov byte [rax + 0x10], 3
mov rax, qword [r12 + 0x20]
mov qword [rax + 0x20], rsi
mov byte [rax + 0x30], 1
cmp byte [r12 + 0x67], 0
mov byte [r12 + 0x71], 0x76
je 0x4bdce8
mov rcx, qword [r12 + 0x18]
test rcx, rcx
jne 0x4bda12
nop dword [rax]
mov r13d, 7
mov rcx, r12
xor edx, edx
xor r12d, r12d
call fcn.0048d8c0
jmp 0x4bda86
mov ecx, 0x310
call qword [0x0060de80]
mov r12, rax
jmp 0x4bd727
lea rax, [0x0061717c]
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0x2b49c
mov ecx, 0x15
mov qword [rsp + 0x20], rax
lea r8, str.misuse
call fcn.0042e6d0
mov edx, 0x15
jmp 0x4bd9de
mov rcx, r12
mov r13d, 7
xor r12d, r12d
call fcn.0040c4a0
jmp 0x4bdc6e
cmp qword [r12 + 0x190], 0
mov dword [r12 + 0x50], 0
je 0x4bdf68
mov rcx, r12
call fcn.00423290
mov r8d, 2
lea rdx, str.MATCH
mov rcx, r12
call fcn.004bd4a0
cmp eax, 7
je 0x4bdfaa
movzx eax, byte [r12 + 0x71]
cmp al, 0xba
setne cl
cmp al, 0x76
setne dl
test cl, dl
je 0x4bde00
cmp al, 0x6d
je 0x4bde00
lea r8, str.invalid
lea rdx, str.API_call_with__s_database_connection_pointer
mov ecx, 0x15
call fcn.0042e6d0
mov r9d, 0x2b1c6
lea rax, [0x0061717c]
lea rdx, str._s_at_line__d_of___.10s_
mov qword [rsp + 0x20], rax
lea r8, str.misuse
mov ecx, 0x15
call fcn.0042e6d0
mov edx, 0x15
mov dword [r12 + 0x50], edx
mov rcx, r12
call fcn.00422250
mov r9d, dword [0x0060de78]
mov r8d, dword [0x0060de74]
mov rcx, r12
xor edx, edx
call fcn.00410fd0
mov rcx, qword [r12 + 0x18]
test rcx, rcx
je 0x4bdf80
call qword [0x0060dee0]
mov rcx, qword [r12 + 0x18]
lea rax, [0x004df4b0]
mov qword [r12 + 0x170], 0x3e8
mov qword [r12 + 0x168], rax
test rcx, rcx
je 0x4bda18
call qword [0x0060def0]
jmp 0x4bda08
cmp byte [r12 + 0x67], 0
jne 0x4bdfa0
mov edx, dword [r12 + 0x50]
and edx, dword [r12 + 0x58]
jne 0x4bdd8d
mov rcx, r12
call fcn.0040a150
mov edx, eax
test eax, eax
jne 0x4bdd8d
mov rcx, r12
call fcn.0043cea0
mov edx, eax
test eax, eax
jne 0x4bdd8d
mov eax, dword [0x0066e7e0]
test eax, eax
je 0x4bdea6
xor edi, edi
lea r14, [0x0066e7e0]
lea rsi, [rsp + 0x58]
lea r15, [0x006247a0]
cmp byte [0x0060de64], 0
je 0x4bdee0
mov ecx, 2
call qword [0x0060ded0]
mov r13, rax
test rax, rax
je 0x4bdee0
mov rcx, rax
call qword [0x0060dee0]
cmp dword [r14], edi
ja 0x4bdf28
mov rcx, r13
call qword [0x0060def0]
mov qword [rsp + 0x58], 0
xor ecx, ecx
call fcn.0040c4a0
mov rcx, r12
call fcn.00431b00
test eax, eax
je 0x4bdd9a
jmp 0x4bda08
cmp eax, 0xc0a
mov eax, 7
mov rcx, r12
cmove edx, eax
mov dword [r12 + 0x50], edx
call fcn.00422250
jmp 0x4bda08
cmp dword [r14], edi
jbe 0x4bde96
mov rdx, qword [0x0066e7e8]
mov eax, edi
mov rbp, qword [rdx + rax*8]
mov qword [rsp + 0x58], 0
test rbp, rbp
je 0x4bdfb7
mov r8, r15
mov rdx, rsi
mov rcx, r12
call rbp
test eax, eax
jne 0x4bdf40
mov rcx, qword [rsp + 0x58]
call fcn.0040c4a0
add edi, 1
jmp 0x4bde5f
mov rdx, qword [0x0066e7e8]
mov eax, edi
mov rcx, r13
mov rbp, qword [rdx + rax*8]
call qword [0x0060def0]
jmp 0x4bdef2
mov r9, qword [rsp + 0x58]
mov rcx, r12
lea r8, str.automatic_extension_loading_failed:__s
mov edx, eax
call fcn.00446260
mov rcx, qword [rsp + 0x58]
call fcn.0040c4a0
jmp 0x4bdea6
mov dword [r12 + 0x54], 0xffffffff
jmp 0x4bdd08
lea rax, [0x004df4b0]
mov qword [r12 + 0x170], 0x3e8
mov qword [r12 + 0x168], rax
jmp 0x4bda18
mov edx, 7
jmp 0x4bdd8d
mov rcx, r12
call fcn.0042cc50
jmp 0x4bdd26
xor ecx, ecx
jmp 0x4bdf18