Function at 0x14002ca12
Capabilities:
Parse pe header

Disassembly:
push rbp
push r15
sub rsp, 0x28
cmp qword [0x1404ba72c], 0
je 0x14002ca28
xor rax, rax
jmp 0x14002ca2f
mov rax, 1
and rax, rax
je 0x14002ca4e
lea rbp, [0x1404baa64]
mov r15, qword [rbp + 8]
cmp r15, 4
jne 0x14002ca4e
mov rax, 1
jmp 0x14002ca51
xor rax, rax
and rax, rax
je 0x14002ca69
mov r15, qword [rbp + 0x10]
cmp r15, 6
jne 0x14002ca69
mov rax, 1
jmp 0x14002ca6c
xor rax, rax
and rax, rax
je 0x14002cb3d
push 1
push 0x4f
pop rcx
pop rdx
call fcn.1400a466c
push recv
pop rcx
call fcn.1400b3a10
mov rax, rax
push rax
push SafeArrayPutElement
pop rcx
pop rdx
call fcn.14009cb48
push 1
push 0x52
pop rcx
pop rdx
call fcn.14009cb48
push 0
push 0x54
pop rcx
pop rdx
call fcn.14009cb48
push 0
push 0x56
pop rcx
pop rdx
call fcn.14009cb48
push 0
push 0x66
pop rcx
pop rdx
call fcn.14009cb48
push 1
lea rax, [0x140038a81]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.14004de60
mov qword [0x1404ba72c], rax
lea rbp, [0x1404baa64]
mov qword [rbp + 0x10], 8
push reloc.OLEAUT32.dll_SafeArrayGetLBound
pop rcx
call fcn.1400b3a10
mov rax, rax
push rax
push SafeArrayPutElement
pop rcx
pop rdx
call fcn.14009cb48
push 0x4c
pop rcx
call fcn.14009ce7c
jmp 0x14002cf1b
lea rbp, [0x1404baa64]
mov r15, qword [rbp + 8]
cmp r15, 3
je 0x14002cb61
lea rbp, [0x1404baa64]
mov r15, qword [rbp + 8]
cmp r15, 5
je 0x14002cb61
jmp 0x14002cb6a
mov rax, 1
jmp 0x14002cb6d
xor rax, rax
and rax, rax
je 0x14002cec0
push reloc.OLEAUT32.dll_SafeArrayGetLBound
pop rcx
call fcn.1400b3a10
mov rax, rax
push rax
push SafeArrayPutElement
pop rcx
pop rdx
call fcn.14009cb48
lea rbp, [0x1404baa64]
mov qword [rbp + 8], 4
push 1
push 0x4d
pop rcx
pop rdx
call fcn.14009af48
push 0
push 0x4f
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x52
pop rcx
pop rdx
call fcn.14009cb48
push 0
push 0x54
pop rcx
pop rdx
call fcn.14009cb48
push 0
push 0x56
pop rcx
pop rdx
call fcn.14009cb48
push 0
push 0x66
pop rcx
pop rdx
call fcn.14009cb48
push 1
push 0x52
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x54
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x56
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x66
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x53
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x55
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x57
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x5d
pop rcx
pop rdx
call fcn.14009af48
push 1
push SQLConnectW
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x5c
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x59
pop rcx
pop rdx
call fcn.14009af48
push 1
push SQLConnectW
pop rcx
pop rdx
call fcn.14009af48
push 1
push SQLConnectW
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x58
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x5e
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x5f
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x60
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x61
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x62
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x63
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x5a
pop rcx
pop rdx
call fcn.14009af48
push 1
push reloc.ODBC32.dll_SQLRowCount
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x4e
pop rcx
pop rdx
call fcn.14009af48
push 1
push reloc.SHELL32.dll_IsNetDrive
pop rcx
pop rdx
call fcn.14009af48
push 0
push SQLSetEnvAttr
pop rcx
pop rdx
call fcn.14009af48
push 0
push reloc.ODBC32.dll_SQLBindParameter
pop rcx
pop rdx
call fcn.14009af48
push 0
push SQLConnectW
pop rcx
pop rdx
call fcn.14009af48
push 0
push 0x5b
pop rcx
pop rdx
call fcn.14009af48
push 0
push SQLBindParameter
pop rcx
pop rdx
call fcn.14009af48
push 0
push SQLBindParameter
pop rcx
pop rdx
call fcn.14009af48
push 0
push reloc.ODBC32.dll_SQLSetEnvAttr
pop rcx
pop rdx
call fcn.14009af48
push 0
push 0x4c
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x51
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x64
pop rcx
pop rdx
call fcn.14009af48
push 1
push 0x65
pop rcx
pop rdx
call fcn.14009af48
push 1
push reloc.ODBC32.dll_SQLConnectW
pop rcx
pop rdx
call fcn.14009af48
push 1
push reloc.ODBC32.dll_SQLDescribeColW
pop rcx
pop rdx
call fcn.14009af48
push 1
push SQLExecDirectW
pop rcx
pop rdx
call fcn.14009af48
push 0
push 0x50
pop rcx
pop rdx
call fcn.14009af48
push 0x4c
pop rcx
call fcn.14009ce7c
mov qword [0x1404ba4a4], 0
push 0xc8
pop rcx
call fcn.1400a5e7c
jmp 0x14002cf1b
push recv
pop rcx
call fcn.1400b3a10
mov rax, rax
push rax
push SafeArrayPutElement
pop rcx
pop rdx
call fcn.14009cb48
lea rbp, [0x1404baa64]
mov qword [rbp + 0x10], 7
push 0xc8
pop rcx
call fcn.1400a5e7c
push reloc.WS2_32.dll_inet_addr
pop rcx
call fcn.1400b3a10
mov rax, rax
push rax
push SafeArrayPutElement
pop rcx
pop rdx
call fcn.14009cb48
push 0x4c
pop rcx
call fcn.14009ce7c
xor rax, rax
add rsp, 0x28
pop r15
pop rbp
ret